You can install nodemon npm install -g nodemon Then in your package.json add a script like so: "scripts": { "startWatchInspect": "nodemon --inspect --trace-warnings server.js" }