Monday, February 28, 2011

Supervisor for NodeJS

Supervisor runs your nodejs programs and restarts them when a *.js file changes

npm install supervisor

supervisor -p server.js -w .
This example runs server.js and watches the current folder, if a js file changes in this folder it restarts the server.js

No comments:

Post a Comment