nodemon

Node.js applications when you run with nodejs command, need to restart when a change is made to the source code of the application.

nodemon will watch your application source code for changes, and restart if a change is detected.

To install nodemon, run

Advertisement

npm install -g nodemon

Example

nodemon app.js 3000
Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement