Skip to content

Commit 4080cd5

Browse files
committed
add individual build:*:watch scripts
1 parent a3b8723 commit 4080cd5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/replay/package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@
1414
"build:worker": "rollup -c rollup.config.worker.js",
1515
"build:core": "rollup -c rollup.npm.config.js",
1616
"build:types": "tsc -p tsconfig.types.json",
17-
"build:watch": "run-p \"build:worker --watch\" \"build:core --watch\" \"build:bundle --watch\" build:types:watch",
18-
"build:dev:watch": "run-p \"build:core --watch\" build:types:watch",
17+
"build:watch": "run-p build:worker:watch build:core:watch build:bundle:watch build:types:watch",
18+
"build:dev:watch": "run-p build:core:watch build:types:watch",
19+
"build:core:watch": "yarn build:core --watch",
20+
"build:worker:watch": "yarn build:worker --watch",
21+
"build:bundle:watch": "yarn build:bundle --watch",
1922
"build:types:watch": "tsc -p tsconfig.types.json --watch",
2023
"build:npm": "ts-node ../../scripts/prepack.ts --bundles && npm pack ./build/npm",
2124
"circularDepCheck": "madge --circular src/index.ts",

0 commit comments

Comments
 (0)