Skip to content

Commit

Permalink
fix: prevent stdout buffer from filling up (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiger31 committed May 27, 2022
1 parent 3696132 commit 6f16345
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/jest-dev-server/src/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ function runServer(config = {}, index = 0) {
// eslint-disable-next-line no-console
console.log(chalk.magentaBright('\nJest dev-server output:'))
servers[index].stdout.pipe(serverLogPrefixer).pipe(process.stdout)
} else {
servers[index].stdout.on('data', () => {})
}
}

Expand Down

0 comments on commit 6f16345

Please sign in to comment.