Imagine the following package configuration
{
"scripts": {
"build": "run-p build:*",
"build:types": "tsc --emitDeclarationOnly",
"build:module": "rollup --config"
}
}
Watch-module will never detect that the build is done and will never output the module swapped message.
The issue is present even in synchronous mode (run-s instead of run-s)
Doc of npm-run-all : https://www.npmjs.com/package/npm-run-all
Imagine the following package configuration
{ "scripts": { "build": "run-p build:*", "build:types": "tsc --emitDeclarationOnly", "build:module": "rollup --config" } }Watch-module will never detect that the build is done and will never output the
module swappedmessage.The issue is present even in synchronous mode (
run-sinstead ofrun-s)Doc of npm-run-all : https://www.npmjs.com/package/npm-run-all