1sudo npm install nodemon -g
2// This command will install nodemon into the system
1npx nodemon server.js
2or add in package.json config:
3
4...
5"scripts": {
6 "dev": "npx nodemon server.js"
7 },
8...
9then run:
10
11npm run dev
1nodemon command not foundWhatever By Mysterious Monkey on May 16 2020
2npx nodemon server.js
3or add in package.json config:
4
5...
6"scripts": {
7 "dev": "npx nodemon server.js"
8 },
9...
10then run:
11
12npm run dev