Nodemon is a utility that monitor for any changes in your source and automatically restarts your server. It's a great utility for development as it saves you from manually restarting your server every time you make a change.
- Install nodemon using npm:
 
npm install -g nodemon
- Use nodemon to run your node.js application:
 
nodemon <your_app.js>
- Your application will now automatically restart when any changes are made to your code.
 
To Refresh Nodemon on all file modification, use this steps :
Make a
nodemon.jsonon your Project working directoryinclude
{"ext":"html,css,js,cjs,mjs,json,pug"}innodemon.jsonFileNow Run Nodemon File again
              
    
Top comments (0)