Skip to content

Commit

Permalink
feat: keep logging pipe for trusted plugins (#5899)
Browse files Browse the repository at this point in the history
* chore: keep logging pipe for trusted plugins
  • Loading branch information
davbree authored Oct 29, 2024
1 parent 21eba9f commit a631d8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/build/src/steps/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ export const firePluginStep = async function ({
})
return { newError }
} finally {
await unpipePluginOutput(childProcess, logs, listeners, standardStreams)
if (!isTrustedPlugin(pluginPackageJson?.name) || listeners) {
await unpipePluginOutput(childProcess, logs, listeners, standardStreams)
}
logStepCompleted(logs, verbose)
}
}

0 comments on commit a631d8c

Please sign in to comment.