mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user