nodemon mac code example
Example 1: install nodemon globally
npm install -g nodemon
Example 2: nodemon command not found mac
nodemon command not foundWhatever By Mysterious Monkey on May 16 2020
npx nodemon server.js
or add in package.json config:
...
"scripts": {
"dev": "npx nodemon server.js"
},
...
then run:
npm run dev