Skip to content

Commit a631d8c

Browse files
authoredOct 29, 2024··
feat: keep logging pipe for trusted plugins (#5899)
* chore: keep logging pipe for trusted plugins
1 parent 21eba9f commit a631d8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎packages/build/src/steps/plugin.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ export const firePluginStep = async function ({
108108
})
109109
return { newError }
110110
} finally {
111-
await unpipePluginOutput(childProcess, logs, listeners, standardStreams)
111+
if (!isTrustedPlugin(pluginPackageJson?.name) || listeners) {
112+
await unpipePluginOutput(childProcess, logs, listeners, standardStreams)
113+
}
112114
logStepCompleted(logs, verbose)
113115
}
114116
}

0 commit comments

Comments
 (0)
Please sign in to comment.