How to update the page automatically when saving the project?

Asked

Viewed 588 times

-1

How to update the page automatically when saving the project to automate the work. To further automate the project as in Cordova projects.

1 answer

3


I think what you’re looking for is Nodemon:

Nodemon is a utility that monitors any changes to the source code and automatically restarts your server. Perfect for the development. [...] Just use Nodemon instead of Node to execute your code and now your process will automatically restart when the code is changed.

You can install globally on your machine via npm using the command npm install -g nodemon. This way it is available in all projects that work on your machine but never stays in the project dependencies.

You can also install the nodemon as a dependency on dev in their projects using npm install nodemon --save-dev.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.