nodemon script
# 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
nodemon script
# 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
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"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us