npm install gulp -g
Install-Package HotTowel.Angular
--save-dev
option here is telling node to add these packages to a devDependencies section in the package.json file and install the packages in a node_modules folder in the current folder . At any time, you or another developer on your team can re-install all the devDependencies by simply running npm install
.gulp
from the command line and you should see some output stating that scripts task is completed successfully.gulp watch
from the command line, our new watch
task will watch for changes to any of our js files. When a change is detected it will trigger the scripts
task to execute, regenerating the all.min.js file.watch
task to the Solution Open event and bind the scripts
task to the Before Build event.cshtml
files in an MVC application as it requires the Razor view engine.