resolve instead of reject

This commit is contained in:
Cory LaViska
2023-08-30 15:12:13 -04:00
parent af7682aaca
commit 8b9df9871a

View File

@@ -71,8 +71,8 @@ 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(output);
// Resolve to prevent the dev server from closing
resolve(output);
}
});
} else {