Answers for "nodemon watch no"

1

nodemon watch file run command

// nodemon watch for file changes and run command

nodemon --watch 'src/**/*' --exec "command"
Posted by: Guest on May-02-2021
10

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
Posted by: Guest on April-23-2021

Code answers related to "nodemon watch no"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language