Develop node.js without restarting

Run your server with nodemon instead of node. It will scan for filesystem changes and restart node automatically when a change is made.

$ sudo npm install nodemon
$ nodemon app.js 

Leave a Reply

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.