Answers for "how nodemon global install only"

141

install nodemon globally

# 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
1

nodemon install locally

npm install --save-dev nodemon
Posted by: Guest on April-09-2021
0

nodemon install globally

//Install nodemon on your project as dev-dependency
npm install nodemon --save-dev


//Update the package.json file
  "scripts": {
    "start": "node ./bin/www",
    "devstart": "nodemon ./bin/www",
    "serverstart": "DEBUG=your-folder-name:* npm run devstart"
  },

//On Windows, use this command:

SET DEBUG=express-locallibrary-tutorial:* & npm run devstart

//restart server by typing this on cmd rs (restart)
rs
Posted by: Guest on May-04-2021

Browse Popular Code Answers by Language