-
First download the nodemon package
for globally
npm i -g nodemon
OR
npm install --global nodemonfor locally npm i nodemon OR npm install --save-dev nodemon
go to your "package.json" file and go also "scripts" object and write
"scripts": {
"start": "nodemon (your main js file, where you do main work like server connect => for example , app.js)"
},
that's it
- Now you can try your terminal npm start for starting this app
good day
Top comments (0)