1、安装 npm install -g nodemon 2、配置文件 在package.json文件中 "scripts": { "start": "nodemon ./bin/www" } 再npm start启动即可