有些时候nodejs不能热调试,总是要重启应用 (我也不知道为什么有时候就可以) 介绍一个package npm install supervisor -g 然后 supervise app.js 自动检测文件修改重启应用