nodemon自动重启服务器

 // package.json 
 "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "dev": "nodemon --watch app.js --exec node \"app\""
  },