How can I pass arguments to the executable in nodemon (or node-supervisor)?

actually, it turned out to be a bug :)

The short way:

nodemon --debug -w src src/server.coffee

Or (where --nodejs and --debug are included as the exec)

nodemon -x "coffee --nodejs --debug" -w src src/server.coffee

Or (looks nicer than above)

nodemon -x coffee --nodejs --debug -w src src/server.coffee

(all on nodemon 0.6.6)


You can use -- with supervisor. Not sure if this would work with the -x syntax though:

supervisor -w src -- coffee.js --nodejs --debug src/server.coffee