Restart application on file change, work even on Windows
Reload your Node.js application if it's source code changed. Tested on Windows, Mac OSX, Linux.
How to use:
To use it just include 'reloader' as usual NodeJS module and put code that must be started after every restart in 'onReload' callback. eg.
var reloader = ;;
In case if you go to use Reloader with Express framework:
// Reloader setup demonstrationvar app = ;app;app;
watchModules: false onRestart: function onStart: function