nodemon – Utility for autoRestart Node Server on Code Changes

nodemon_thumb

Nodemon is one of the most useful node packages that save a lot of time during code changes. Normally every time we make changes to the backend code, it requires a server restart for reflecting changes.

Nodemon is a solution for this repetative task. This package autorestarts the server when the code changes are saved.

Installing Nodemon

npm install -g nodemon

Nodemon Website: https://nodemon.io/

Next time while running use :

nodemon server.js

Next time when u make any change to code and hit the save, the nodemon takes care of the server restart. We don’t need to worry about it.

About the Author: smartcoder

You might like

Leave a Reply

Your email address will not be published. Required fields are marked *