Monday, December 5, 2011

Node.js Auto Restart on github change

Title should say it all: When you make a source code change, it will automatically restart the server.  No more manually doing this.  Wonderful for development.

https://github.com/remy/nodemon

From the github project:


nodemon

For use during development of a node.js based application.
nodemon will watch the files in the directory that nodemon was started, and if they change, it will automatically restart your node application.
nodemon does not require any changes to your code or method of development. nodemon simply wraps your node application and keeps an eye on any files that have changed.

No comments:

Post a Comment