mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
resolve instead of reject
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user