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.
This commit is contained in:
Jan Kassens
2022-11-10 11:30:45 -05:00
parent f57bcacced
commit 21b6112238
+1 -1
View File
@@ -10,7 +10,7 @@
"scripts": {
"build": "tsc && scripts/hash-dist.sh",
"bundle:meta": "scripts/bundle-meta.sh",
"dev": "concurrently \"yarn:build --watch\" \"yarn:playground\"",
"dev": "concurrently --kill-others \"tsc --watch\" \"yarn:playground\"",
"playground": "cd packages/playground && yarn && yarn dev",
"test": "yarn build && jest",
"ts:analyze-trace": "scripts/ts-analyze-trace.sh"