Error handling bugfix in dev server

This commit is contained in:
2026-07-20 20:41:30 +01:00
parent 1d0ac4aa80
commit e3a0f5fbeb
16 changed files with 582 additions and 431 deletions
+3 -2
View File
@@ -17,7 +17,6 @@ export default async function fullRebuild(params) {
global.SSR_BUNDLER_CTX = undefined;
}
catch (error) { }
// await pagesSSRBundler();
await allPagesESBuildContextBundler({
post_build_fn: () => {
serverPostBuildFn();
@@ -25,9 +24,11 @@ export default async function fullRebuild(params) {
});
}
catch (error) {
log.error(error);
}
finally {
global.RECOMPILING = false;
global.IS_SERVER_COMPONENT = false;
log.error(error);
}
if (global.PAGES_SRC_WATCHER) {
global.PAGES_SRC_WATCHER.close();