What is Nodemon?

In order to run Node.js applications one would have to type node along with the filename.

node filename.js

This process has to be repeated every time you want to run code. But let’s say you have a program that automatically runs your code whenever you make updates to the application? Wouldn’t that be great? It would save you time from the repetitive process of executing a command.

Fortunately such a program exists and it is called “Nodemon”. Nodemon monitors changes in your code and then automatically restarts your server whenever there is a change.

How to Install Nodemon?

Just Enter this command on the terminal

npm install -g nodemon




Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s