From 1867603225b39c9ab85f547c4b1b6bd139b8f26c Mon Sep 17 00:00:00 2001 From: Konnor Rogers Date: Fri, 25 Aug 2023 16:20:19 -0400 Subject: [PATCH] log stderr in builds (#1543) --- scripts/build.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/build.js b/scripts/build.js index d27793b590..e46f4ef9b0 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.