Using Nodemon

When developing a webapp with nodejs. It can be a pain having to restart the webserver after every change.

Nodemon is a package that monitors your code files for changes, and as soon as they change, it stops and restarts the webserver and takes the load of manually restarting off of your shoulders.

To use it, first you need to install nodemon as a development dependency.

Use the following command.

> npm install -D nodemon
Continue reading Using Nodemon