问一下 npm stop 会关了全部端口 加了title 也不管用那
linux 下不行 要重启服务器?
求EGG 大神告知 这是坑么
我猜测大概率不是坑,而是需要理解下 npm scripts 的文档。
title 要加到 npm script 里面,不要在外面,再外面要多一个 --
--
也就是 { "stop": "egg-scripts stop --title="} 或者 npm stop -- --title=
{ "stop": "egg-scripts stop --title="}
npm stop -- --title=
为什么你们都不用 egg-init --type=simple 来初始化项目呢?里面都已经写好的了。
egg-init --type=simple
CNode 社区为国内最专业的 Node.js 开源技术社区,致力于 Node.js 的技术研究。
linux 下不行 要重启服务器?
求EGG 大神告知 这是坑么
我猜测大概率不是坑,而是需要理解下 npm scripts 的文档。
title 要加到 npm script 里面,不要在外面,再外面要多一个
--也就是
{ "stop": "egg-scripts stop --title="}或者npm stop -- --title=为什么你们都不用
egg-init --type=simple来初始化项目呢?里面都已经写好的了。