chore: disable rules in oxlint (#9154)

This commit is contained in:
Brooooooklyn
2024-12-13 10:49:35 +00:00
parent 2452ccd1e5
commit ea746e3d77
53 changed files with 621 additions and 269 deletions

View File

@@ -80,7 +80,9 @@ async function watchLayers() {
console.log(`[layers] has changed, [re]launching electron...`);
spawnOrReloadElectron();
} else {
buildContextPromise.then(resolve);
buildContextPromise.then(resolve).catch(e => {
console.error(e);
});
initialBuild = true;
}
});
@@ -88,9 +90,13 @@ async function watchLayers() {
},
],
});
buildContextPromise.then(async buildContext => {
await buildContext.watch();
});
buildContextPromise
.then(buildContext => {
return buildContext.watch();
})
.catch(e => {
console.error(e);
});
});
}