Skip to content

Commit 6f16345

Browse files
authored
fix: prevent stdout buffer from filling up (#482)
1 parent 3696132 commit 6f16345

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/jest-dev-server/src/global.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ function runServer(config = {}, index = 0) {
7575
// eslint-disable-next-line no-console
7676
console.log(chalk.magentaBright('\nJest dev-server output:'))
7777
servers[index].stdout.pipe(serverLogPrefixer).pipe(process.stdout)
78+
} else {
79+
servers[index].stdout.on('data', () => {})
7880
}
7981
}
8082

0 commit comments

Comments
 (0)