[英]npm: How to run several “watch” scripts in one command?
I have a command in npm's scripts: "start": "gulp sass && gulp & http-server"
, the gulp
and the http-server
are both 'holding and watching' command, so when i use npm start
, it's will hanging at gulp
and not continue to exec http-server
. 我在npm的脚本中有一个命令:
"start": "gulp sass && gulp & http-server"
, gulp
和http-server
都是'holding and watching'命令,所以当我使用npm start
,它将挂在gulp
,不要继续执行http-server
。
how could i run gulp
and http-server
in just one command? 我如何仅用一个命令即可运行
gulp
和http-server
? please help me 请帮我
有一个叫做concurent
的包
concurrently --kill-others "grunt" "http-server"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.