使用并发调用的包。
npm i concurrently --save-dev
然后按以下步骤设置您的
npm run dev任务:
"dev": "concurrently --kill-others "npm run start-watch" "npm run wp-server""

使用并发调用的包。
npm i concurrently --save-dev
然后按以下步骤设置您的
npm run dev任务:
"dev": "concurrently --kill-others "npm run start-watch" "npm run wp-server""