How to refresh the page automatically when saving the project to automate the job ?. To further automate design like in Cordova designs.
How to refresh the page automatically when saving the project to automate the job ?. To further automate design like in Cordova designs.
I think what you are looking for is Nodemon :
Nodemon is a utility that monitors any source code changes and automatically restarts your server. Perfect for development. [...] Just use Nodemon instead of Node to run your code, and now your process will restart automatically when the code changes.
You can install globally on your machine via npm
using the npm install -g nodemon
command. This way it is available in all projects that work on your machine but never stays in the dependencies of the projects.
You can also install nodemon
as a dependency of dev
on your projects using npm install nodemon --save-dev
.