remy/nodemon — pull request #70 by edy-b (2012-03-04 18:22:00+00:00)
Title: new options: --on-start and --on-exit

this options are very useful if you want to perform some tasks before nodemon starts your app and after it has crashed. in my case i have to clean some directories on every start of my app and this is how it works:

nodemon --on-start "rm var/*" app.js