You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Start: HMR does not refresh loaders or beforeLoad #5698
Hot Module Reloading (HMR) does not re-run beforeLoad or loader functions when their code changes.
Even though Vite logs indicate a hot update ([vite] program reload), the functions retain old behavior until a full page refresh.
This causes issues when working on things like localization or dynamic imports that rely on beforeLoad.
This ensures route changes propagate correctly through routeTree.gen.ts and router.tsx.
⸻
🧩 Context
Discovered while editing .json message files for i18next — changes to localized messages didn’t reflect until a hard refresh, even though they were dynamically imported inside beforeLoad.
Activity
[-]HMR does not function for loaders or beforeLoad[/-][+]Start: HMR does not reload for loaders or beforeLoad[/+][-]Start: HMR does not reload for loaders or beforeLoad[/-][+]Start: HMR does not refresh loaders or beforeLoad[/+]