Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #nodemon #script
ADD COMMENT
Topic
Name
4+5 =