nodemon in windows code example
Example 1: 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
Example 2: installing nodemon in windows
npm install --save-dev nodemon
Example 3: installing nodemon in windows
npm install -g nodemon
Example 4: 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