From 21b6112238bbb25e1d56dbe71f9121e7444a8eec Mon Sep 17 00:00:00 2001 From: Jan Kassens Date: Thu, 10 Nov 2022 11:30:45 -0500 Subject: [PATCH] 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. --- compiler/forget/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/forget/package.json b/compiler/forget/package.json index 728b320a95..8fb062126f 100644 --- a/compiler/forget/package.json +++ b/compiler/forget/package.json @@ -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"