mirror of
https://github.com/shoelace-style/shoelace.git
synced 2026-01-12 02:59:13 +00:00
log stderr in builds
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user