We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc3f696 commit 4b2421bCopy full SHA for 4b2421b
1 file changed
index.js
@@ -50,6 +50,9 @@ if (argv.config) argv.config = path.resolve(argv.config)
50
51
Promise.resolve()
52
.then(() => {
53
+ if (argv.watch && !(argv.output || argv.replace || argv.dir)) {
54
+ error('Cannot write to stdout in watch mode')
55
+ }
56
if (input && input.length) return globber(input)
57
58
if (argv.replace || argv.dir) {
0 commit comments