We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49db822 commit 3143642Copy full SHA for 3143642
index.js
@@ -75,6 +75,8 @@ buildCliConfig()
75
.then(() => {
76
if (argv.watch && !(argv.output || argv.replace || argv.dir)) {
77
error('Cannot write to stdout in watch mode')
78
+ // Need to explicitly exit here, since error() doesn't exit in watch mode
79
+ process.exit(1)
80
}
81
82
if (input && input.length) {
0 commit comments