Sunday, June 5, 2016

NodeJS : Using nodemon

To easier development process on NodeJS project, we need a server that able to auto-reload source code during coding. A tool called as 'Nodemon' are needed to support our need :
$ npm install -g nodemon
Then when you want to run and auto-reload source code :
$ nodemon <put-your-script-here>.js
Another benefit of nodemon are it can run run source code with coffee script formatted. Good luck!

No comments:

Post a Comment