Skip to content

Commit

Permalink
fix: print error when run rspack failed
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrykingxyz committed Oct 25, 2023
1 parent 933b298 commit d81bf65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export async function runCommand(
const stdio = verbose ? "inherit" : "ignore";
const p = spawn(command, args, {
shell: true,
stdio: [stdio, hasOnData ? "pipe" : stdio, stdio],
stdio: [stdio, hasOnData ? "pipe" : stdio, "inherit"],
env: env
? {
...process.env,
Expand Down

0 comments on commit d81bf65

Please sign in to comment.