diff --git a/scripts/build.js b/scripts/build.js index fa29ad5e..f3764dc9 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -72,7 +72,7 @@ async function buildTheDocs(watch = false) { child.stderr.on('data', data => { if (data.includes(errorSignal)) { // This closes the dev server, not sure if thats what we want? - reject(child); + reject(output); } });