Last Updated: October 02, 2016
·
223
· lonsomehell

Rerun Node when content Change

To achieve this use nodemon.
Install nodemon:
npm install -g nodemon
Then run nodemon instead of node
nodemon index.js
That's it now when you change your files nodemon will rerun node and you will have the latest version of your work up and running.