For those who want to or are learing web for the first time saving and reloading can be an issue use this layout and it will make your life easy.
- Install NODE.js
- Than run the following commads
$ npm install gulp-cli -g
Run the following commads the dafault boowser will open with address locahost:3000
and your web app will be there. (REMEMBER TO OPEN CLI IN THE CLONED FOLDER)
$ npm install --save
$ gulp
- Home html page should be in index.html
- Make all .html files in /templates folder.
- Make all .css files in /css folder.
- Make all .js files in /js folder.
For every change you make in your code and press ctrl+s your browser will detect change and reload itself, If you don't have .js files just leave the folder empty!