如何同时杀死运行的港口? crtl+ c在运行npm并发的终端上“命令1” && &quot'命令2&quot&quot不起作用
我在WebPack上有一个React WebApp,并且
dev“:”同时 - kill-kill-int-Fail“ npm运行开始”” NPM运行 服务器“”
package.json中。 运行开发人员,然后试图阻止一个终端这样说: [1]终止批处理作业(Y/N)?终止批处理作业(y/n)?终止批处理作业(y/n)?
。键入y或按下crtl + c无济于事。我每次都必须杀死港口(杀死一个港口仍然杀死另一个港口)。
我在这里也尝试了该建议:节点JS CTRL + C不停止服务器(使用“ NPM启动”启动服务器之后)
I have an React webapp on Webpack and have
dev": "concurrently --kill-others-on-fail "npm run start" "npm run
server""
in the package.json.
Running dev and then attempting to stop one the terminal says this:[1] Terminate batch job (Y/N)? Terminate batch job (Y/N)? Terminate batch job (Y/N)?
. Typing Y or pressing Crtl + C does nothing. I have to kill the ports each time (killing one port still kills the other).
I've tried the suggestion here as well: Node JS ctrl + C doesn't stop server (after starting server with "npm start")
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论