log stderr in builds (#1543)

This commit is contained in:
Konnor Rogers
2023-08-25 16:20:19 -04:00
committed by GitHub
parent cf195da424
commit 1867603225

View File

@@ -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.