Skip to content

Commit

Permalink
feat(watch): support tsconfig flag (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Jul 13, 2022
1 parent 019fbf5 commit a64c8be
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/watch/index.ts
Expand Up @@ -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',
Expand All @@ -40,6 +44,7 @@ export const watchCommand = command({

const options = {
noCache: argv.flags.noCache,
tsconfigPath: argv.flags.tsconfig,
clearScreen: argv.flags.clearScreen,
ipc: true,
};
Expand Down

0 comments on commit a64c8be

Please sign in to comment.