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?
This is purely about NodeJS :).
nodemon are the commands to run NodeJS applications. The main difference:
nodemonwill 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.
nodein 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.