多条命令同时执行的包concurrently
npm i concurrently
use
"script":{
"client:build": "webpack --config build/webpack.client.js --watch",
"server:build": "webapck --config build/webpack.server.js --watch",
"all": "concurrent \"npm run client:build" \"npm run server:build" "
}
现在使用npm run all 就可以同时运行两个命令了
相关推荐
不知道该写啥QAQ 2020-11-12
webfullStack 2020-11-09
Yvettre 2020-09-15
想做大牛的蜗牛 2020-10-30
gloria0 2020-10-26
gaojie0 2020-09-11
SelinaChan 2020-08-14
不知道该写啥QAQ 2020-08-09
gloria0 2020-08-09
不知道该写啥QAQ 2020-08-02
hline 2020-07-29
SelinaChan 2020-07-28
wangdianyong 2020-07-23
webpackvuees 2020-07-23
yqoxygen 2020-07-20
不知道该写啥QAQ 2020-07-18
waterv 2020-07-18
81463166 2020-07-17