HMR not working
hello i have a docker compose project using coder. it run and build properly but it seems that hmr is not working? I use sveltekit / vite for my webapp thank you for any help
5 Replies
<#1334968140194517040>
Category
Bug report
Product
code-server
Platform
Linux
Logs
Please post any relevant logs/error messages.
If it happens to be behind HTTPS, this might help you. It did for me.
https://github.com/vitejs/vite/discussions/6473
GitHub
HMR behind a https proxy, docker, docs · vitejs vite · Discussion #...
As soon as you put yarn dev or npm run dev behind a https proxy, it's impossible for vite to provide HMR due to a variety of implementation caveats and poor documentation. I could split this bu...
thank you! will check it
thank you i have check all the examples there but its not working for me. can you care to share your vite setup? and are you also using caddy or svelte? thank you again
I'm using Vite with Vue and Quasar Framework inside k8s and because the dev server requests and replies are going through the Internet, my endpoint for the dev server is also HTTPS (which I thought might be the key for you too, if you are using HTTPS). So, my situation is probably much different, sorry. 🤷🏻
hey, what do you mean by "not working"?
could you describe the issue more specifically and attach a screenshot?