Every time i modify my node.js files from server i need to stop the server and run again node app.js to see the changes.
Is there a way to see changes without stop/start server ?
Every time i modify my node.js files from server i need to stop the server and run again node app.js to see the changes.
Is there a way to see changes without stop/start server ?
Yes, nodemon is a utility that will monitor for any changes in your source and automatically restart your server.
Install nodemon globally npm install nodemon -g
Run the server nodemon app.js