Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

Node vs nodemon cmd

What is difference between node and nodemon? If node cmd was used instead nodemon would we have got the output? if nodemon was used first time would refresh would have changed the results?

1 Answers

This is purely about NodeJS :).

Basically, both node and nodemon are the commands to run NodeJS applications. The main difference:

  • nodemon will monitor the application source file for any change, and automatically restart NodeJS server when a change is detected so that your change to the app source can be reflected and you don’t have to restart NodeJS server manually.

  • node in contrast, doesn’t have such ability. Say if you update your app source, you have to stop NodeJS server and start it again to see the change effect.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?