From d11892976505ba82fb7aa139866a7847340d1851 Mon Sep 17 00:00:00 2001 From: konnorrogers Date: Fri, 25 Aug 2023 11:10:09 -0400 Subject: [PATCH] log stderr in builds --- scripts/build.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/build.js b/scripts/build.js index d27793b5..e46f4ef9 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -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.