Skip to content

Commit

Permalink
fix cli -w option
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Mar 5, 2024
1 parent 65fcb77 commit 836e4bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ const { values, positionals } = parseArgs({
options: {
watch: {
type: 'boolean',
alias: 'w',
default: false,
short: 'w',
},
},
allowPositionals: true,
Expand Down Expand Up @@ -84,5 +83,5 @@ if (fs.statSync(fileOrDir).isFile()) {
mistFiles.forEach(handleMistFileUpdate)

// Clean up generated files without a corresponding mist file
genFiles.forEach((genFilename) => handleGenFileWithoutMistFile(genFilename)
genFiles.forEach((genFilename) => handleGenFileWithoutMistFile(genFilename))
}

0 comments on commit 836e4bc

Please sign in to comment.