1.我安装了nodemon,首次启动能够正常启动,在我修改服务器代码保存时,正常情况会重启一次服务,但我这只显示重启服务的字样,服务器并没有重新启动。
下图是cms显示
C:\Users\Administrator\Documents\HBuilderProject\newone>nodemon noname.js
nodemon noname.js
[33m[nodemon] 2.0.5[39m
[33m[nodemon] to restart at any time, enter `rs`[39m
[33m[nodemon] watching path(s): *.*[39m
[33m[nodemon] watching extensions: js,mjs,json[39m
[32m[nodemon] starting `node noname.js`[39m
nodejs open yes
[32m[nodemon] restarting due to changes...[39m
网上我能查阅到方式都试过了,如重新安装一次nodemon、添加环境变量等都不管用,有大佬如知晓请告诉小白。