HMR not working
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
Maybe I'm just doing something wrong, but I have to refresh my page before I ever see any changes to my components.
Is the Vite plugin supposed to have hot module reloading support? If so, it definitely isn't working, at least for me.
My vite.config.ts:
```tsx
import { defineConfig } from "vite";
import { geaPlugin } from "@geajs/vite-plugin";
import tailwindCss from "@tailwindcss/vite";
export default defineConfig({
plugins: [geaPlugin(), tailwindCss()],
root: "./src/client",
build: {
modulePreload: { polyfill: false },
},
});
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the reported vite.config.ts and reproduce the problem by changing a component while the Vite development server is running. Trace the geaPlugin() integration and verify that component changes appear without a manual page refresh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, tailwindcss, vite
- Domain
- frontend, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 48/100