Answers for "node how to run nodemon"

142

install nodemon

# 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
Posted by: Guest on February-05-2021
0

Use Nodemon in Express Server

// nodemon wraps around the node command. 
// To use, it, use nodemon wherever you would normally use the node 
// command. 
// To use it in the Express server that you just generated,
// you can go to the package.json file inside mynamedServer folder 
// and replace this line: "start": "node ./bin/www"
// with this "start": "nodemon ./bin/www"
Posted by: Guest on June-23-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language