mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-02-23 14:39:32 +08:00
fix(cli): Do not exit dev server if the initial build fails
closes #711
This commit is contained in:
parent
d5d19b1872
commit
41653f827a
@ -26,7 +26,10 @@ import versionWatcher from './versionWatcher';
|
||||
|
||||
async function initialBuild({ context }) {
|
||||
const build = await getBuild({ context });
|
||||
await build();
|
||||
try {
|
||||
await build();
|
||||
// eslint-disable-next-line no-empty
|
||||
} catch (error) {}
|
||||
return build;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user