Update dev server

This commit is contained in:
2026-08-14 09:57:22 +01:00
parent afd1af1827
commit 3426c7b53b
3 changed files with 8 additions and 1 deletions
@@ -10,6 +10,7 @@ import serverPostBuildFn from "../server-post-build-fn";
import isDevelopment from "../../../utils/is-development";
import { existsSync } from "fs";
import grabDirNames from "../../../utils/grab-dir-names";
import watcherEsbuildCTX from "../watcher-esbuild-ctx";
const { BUNX_BUNDLER_ERROR_EXIT_FILE } = grabDirNames();
@@ -197,6 +198,9 @@ export default async function grabPageComponent(
} else {
log.error(`Error Grabbing Page Component: ${error.message}`);
log.error(`Page: ${passed_file_path || url?.pathname}`);
global.BUNEXT_PAGES_SRC_WATCHER?.close();
watcherEsbuildCTX();
}
return await grabPageErrorComponent({