how to use nodemon with express code example
Example 1: install nodemon globally
npm install -g nodemon
Example 2: nodemon node
npm install -g nodemon
Example 3: 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