101 nodemon + Node.js

khaled-17 - Jan 3 '23 - - Dev Community

`# Install nodemon
npm install nodemon

Install nodemon globally on your machine

npm install -g nodemon

Install nodemon on your project as dev-dependency

npm install nodemon --save-dev`

then in file package.json

add it
"scripts": {
"start":"nodemon index.js"
}

Image description

then in index.js

add this

Image description
console.log("heloo");

then in cmd add this npm start

Image description

. . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player