Skip to content

Commit 836e4bc

Browse files
committed
fix cli -w option
1 parent 65fcb77 commit 836e4bc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/bin.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ const { values, positionals } = parseArgs({
2020
options: {
2121
watch: {
2222
type: 'boolean',
23-
alias: 'w',
24-
default: false,
23+
short: 'w',
2524
},
2625
},
2726
allowPositionals: true,
@@ -84,5 +83,5 @@ if (fs.statSync(fileOrDir).isFile()) {
8483
mistFiles.forEach(handleMistFileUpdate)
8584

8685
// Clean up generated files without a corresponding mist file
87-
genFiles.forEach((genFilename) => handleGenFileWithoutMistFile(genFilename)
86+
genFiles.forEach((genFilename) => handleGenFileWithoutMistFile(genFilename))
8887
}

0 commit comments

Comments
 (0)