nodemon and --watch

noun

say it: “NOHD-mon and WAHCH” /ˈnoʊdˌmɑn ænd wɑtʃ/

Ways to restart a Node program each time you save a file: the node --watch option, or the older nodemon package.

What does nodemon and --watch do?

node --watch (or the older nodemon) restarts your app automatically when files change.

In a sentence

  • “Run node --watch server.js while you work.”
  • “With nodemon and --watch, the server restarts each time you save.”

Level: Apprentice · More Node.js terms at this level

Updated