Skip to content

Commit 59c227d

Browse files
authoredApr 25, 2020
Fix watch mode with mini reporter
1 parent 9a9351d commit 59c227d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎lib/reporters/mini.js

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ class MiniReporter {
8686
this.spinner = ora({
8787
isEnabled: true,
8888
color: options.spinner ? options.spinner.color : 'gray',
89+
discardStdin: !options.watching,
8990
hideCursor: false,
9091
spinner: options.spinner || (process.platform === 'win32' ? 'line' : 'dots'),
9192
stream: options.reportStream

0 commit comments

Comments
 (0)
Please sign in to comment.