@samitouri / QOS-React-2 / commits / 21b6112238

Fix `yarn dev` to run tsc watch mode

The `--watch` argument forwarding wasn't working anymore because `yarn build` doesn't have the `tsc` command at the end anymore. There's maybe something that can be done to forward the watch argument, just call `tsc --watch` directly.

Jan Kassens committed Nov 10, 2022 at 11:30 UTC 21b6112238bbb25e1d56dbe71f9121e7444a8eec
1 file changed +1 -1
compiler/forget/package.json
+1 -1
@@ -10,7 +10,7 @@
10 "scripts": {
11 "build": "tsc && scripts/hash-dist.sh",
12 "bundle:meta": "scripts/bundle-meta.sh",
13 - "dev": "concurrently \"yarn:build --watch\" \"yarn:playground\"",
13 + "dev": "concurrently --kill-others \"tsc --watch\" \"yarn:playground\"",
14 "playground": "cd packages/playground && yarn && yarn dev",
15 "test": "yarn build && jest",
16 "ts:analyze-trace": "scripts/ts-analyze-trace.sh"