1、安装 npm i supervisor -gd 2、运行 supervisor server.js //server.js 是你自己的服务的js文件 转载于:https://www.cnblogs.com/rickyctbu/p/9725771.html