Auto Restart Node Scripts with Nodemon

If you use node and find yourself constantly restarting your scripts after you make changes, nodemon will be a life saver. Instead of constantly hopping over to the terminal to restart the script, simply make a change and it will automatically be run.

Instead of

node ./server.js localhost 8080

do this

nodemon ./server.js localhost 8080