# 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
npm install nodemon --save-dev
# Install nodemon
npm i nodemon
# Write a script like ...
"scripts": {
"start":"nodemon index.js"
}
# Start in your terminal with something like ...
nodemon ./server.js localhost 8000
or
npm run server
// globally install nodemon
npm install -g nodemon
// modify package > script for easily use
"start": "node index.js", // replace index.js by your file-name
"start-dev": "nodemon index.js",
------------------package.json FILE
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js"
},
------------------package.json FILE
------------------[console]
npm run dev
------------------[console]
nodemon ./server.js localhost 8080
# Install nodemon
npm install nodemon
# Install nodemon globally on your machine
npm install -g nodemon
#
nodemon index.js
# Install nodemon on your project as dev-dependency
npm install nodemon --save-dev
// Note: In order to prevent nodemon from automatically restarting your
// application before you've finished updating your code,
// you will need to turn off Autosave on VS Code and remember to save manually.
// Install it globally with the following command:
npm install -g nodemon
# Install nodemon globally
npm install -g nodemon
npm i cors express nodemon
npm install -g nodemon # or using yarn: yarn global add nodemon
npm install nodemon
{
"execMap": {
"pl": "perl"
}
}