Skip to content

Commit 08c4bac

Browse files
authored
fix(compat): disable stdin-discarder (#2640)
1 parent ec7643d commit 08c4bac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/node/build/build.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export async function build(
4343
const entryPath = path.join(siteConfig.tempDir, 'app.js')
4444
const { render } = await import(pathToFileURL(entryPath).toString())
4545

46-
const spinner = ora()
46+
const spinner = ora({ discardStdin: false })
4747
spinner.start('rendering pages...')
4848

4949
try {

Diff for: src/node/build/bundle.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export async function bundle(
145145
let clientResult: RollupOutput | null
146146
let serverResult: RollupOutput
147147

148-
const spinner = ora()
148+
const spinner = ora({ discardStdin: false })
149149
spinner.start('building client + server bundles...')
150150
try {
151151
clientResult = config.mpa

0 commit comments

Comments
 (0)