
Here is an information on how to configure 'gulp-webserver' for instance port, and what page to load. Now any changes that you will do to your HTML or CSS pages will be automatically reloaded.

Your webserver now will open your page in your default browser. Now in VS Code enter Ctrl+Shift+P and type "Run Task" when you enter it you will see your task "webserver" selected and press enter.In the root directory of your project add gulpfile.js and enter following code:.Remove everything from it end enter just following code If you would like to have live reload you can use gulp-webserver, which will watch for your file changes and reload page, this way you don't have to press F5 every time on your page:Įnter Ctrl+Shift+P in VS Code and type Configure Task Runner.
