nodemon
Node.js applications when you run with nodejs command, you need to restart when a change is made to source code of the application.
nodemon will watch your application source code for changes, restart if a change is detected.
To install nodemon, run
1 |
npm install -g nodemon |
Example
1 |
nodemon app.js 3000 |