Vite hmr doesn't take effect on client. #2519
-
Can someone help me why vite hmr doesn't deliver routes file to hmr? my vite config export default defineConfig({
plugins: [TanStackRouterVite(), react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
"@assets": path.resolve(__dirname, "./src/assets"),
},
},
clearScreen: false,
server: {
port: 1420,
strictPort: true,
host: dev ? '192.168.18.10' : false,
hmr: dev && {
protocol: "ws",
host: '192.168.18.10',
port: 1421,
},
watch: {
ignored: ["**/src-tauri/**"],
},
}
}); transtack-router.mp4 |
Beta Was this translation helpful? Give feedback.
Answered by
andredewaard
Oct 15, 2024
Replies: 1 comment 3 replies
-
I have the same issue, Just saw this tweet from @tannerlinsley https://x.com/tannerlinsley/status/1845573020594917446 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
rootfebri
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the same issue, Just saw this tweet from @tannerlinsley https://x.com/tannerlinsley/status/1845573020594917446
Don't know if this is related.