使用nodemon监听express代码变动 问题场景:每次改完express代码后,都需要重启服务 解决 cmd中运行命令 npm i nodemon -S package.json中,修改scripts "scripts":{"start":"nodemon ./bin/www"}, 成功