From a64c8be944a3871d1005c9a517da7a6312516dce Mon Sep 17 00:00:00 2001 From: hiroki osame Date: Tue, 12 Jul 2022 20:50:33 -0400 Subject: [PATCH] feat(watch): support tsconfig flag (#63) --- src/watch/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/watch/index.ts b/src/watch/index.ts index 39f4781f..4579137c 100644 --- a/src/watch/index.ts +++ b/src/watch/index.ts @@ -17,6 +17,10 @@ const flags = { description: 'Disable caching', default: false, }, + tsconfig: { + type: String, + description: 'Custom tsconfig.json path', + }, clearScreen: { type: Boolean, description: 'Clearing the screen on rerun', @@ -40,6 +44,7 @@ export const watchCommand = command({ const options = { noCache: argv.flags.noCache, + tsconfigPath: argv.flags.tsconfig, clearScreen: argv.flags.clearScreen, ipc: true, };