log stderr in builds

pull/1543/head
konnorrogers 2023-08-25 11:10:09 -04:00
rodzic cf195da424
commit d118929765
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

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