Using Nodemon and Watch in Node.js for Live Restarts - SitePoint
Briefly

Node's stop and restart process becomes frustrating when you're making lots of changes during debugging or those rare times of undisturbed productivity. Fortunately, there are two solutions: nodemon nodemon is a third-party Node.js module developed by JavaScript guru Remy Sharp. (He says you can pronounce it as you choose!)
You can install nodemon as a global module: npm install -g nodemon
Note: nodemon is a server-side solution and doesn't refresh any browser tabs you have pointed at your app. You can implement live reloading with tools such as Browsersync
Read at Sitepoint
[
add
]
[
|
|
]