nodejs 0.5.9 - nodemon fix

After updating node to version 0.5.9, current version of nodemon will not work because of the changes from node 0.4.9.

You can make the following changes to nodemon.js and get it working.

( file https://github.com/remy/nodemon/blob/e9d5274406515a45a6db0c7bd74650fe8cb4716e/nodemon.js )

line 3 :

 sys = require(‘sys’),  
to
 sys = require(‘util’),  

and line 10 :

 nodeArgs = process.ARGV.splice(2),  

to

 nodeArgs = process.argv.splice(2),  
Share