Watching different file types in nodemon

From Logic Wiki
Jump to: navigation, search


in package.json add an arguement --ext

"scripts":{
  "start" : "nodemon src/index.js --ext js,graphql --exec babel-node",
 ....