Skip to content

Commit

Permalink
log stderr in builds (#1543)
Browse files Browse the repository at this point in the history
  • Loading branch information
KonnorRogers authored Aug 25, 2023
1 parent cf195da commit 1867603
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ async function buildTheDocs(watch = false) {
output.push(data.toString());
});

child.stderr.on('data', data => {
output.push(data.toString());
});

if (watch) {
// The process doesn't terminate in watch mode so, before resolving, we listen for a known signal in stdout that
// tells us when the first build completes.
Expand Down

0 comments on commit 1867603

Please sign in to comment.