1# Install nodemon
2npm install nodemon
3
4# Install nodemon globally on your machine
5npm install -g nodemon
6
7# Install nodemon on your project as dev-dependency
8npm install nodemon --save-dev
1# Install nodemon on your project as dev-dependency
2npm install nodemon --save-dev
3#or
4npm i nodemon --save-dev
5#nodemon as -dev cause there is no need nodemon in production
1# Install nodemon
2npm i nodemon
3# Write a script like ...
4"scripts": {
5 "start":"nodemon index.js"
6 }
7# Start in your terminal with something like ...
8nodemon ./server.js localhost 8000
9or
10npm run server