Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

install nodemon in express

#nodemon on project
yarn add nodemon -D 
#to run nodemon from any folder
yarn add -g nodemon

#run with nodemon 
nodemon index.js if nodemon install globally 
if you want to run from command used script inside package.json
 "script":{
    "server":"nodemon index.js"
  },

run using yarn run server
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #install #nodemon #express
ADD COMMENT
Topic
Name
9+3 =