I am running my nodejs app by npm start
npm start
I just installed nodemon by sudo npm install -g nodemon so that i can get my server restarted when i s
sudo npm install -g nodemon
For Express 4; Just run
nodemon
command (with out any args) on the directory; this works for me.