Write a grunt file to validate js files using jshint, minify html files, start the web server and watch the local web server.
Validate js files with jshint.
The source file is located in "src/js".
Minify the html files in "src" folder and place it inside "dest/src" folder with same file name.
After html minification, setup and run a local web server.
Run the watch task to watch the webserver.
Use the IDE terminal to install plugins.
Use official grunt plugins only.
Install necessary grunt commands for all the below tasks and make sure the commands are saved in packages.json and try this: