Dev Server Refresh Bugfix. Loop happens after a file route is refactored to a folder route with index.ts

This commit is contained in:
2026-07-29 13:55:23 +01:00
parent a19863b3e9
commit 45509deff8
3 changed files with 3 additions and 1 deletions
@@ -105,6 +105,7 @@ export default async function grabPageComponent(
await fullRebuild({
msg: `Retrying Bundle map for file \`${file_path}\``,
});
await Bun.sleep(1000);
bundledMap = global.BUNDLER_CTX_MAP[file_path];
if (bundledMap?.path) break;
}