HMR on a service worker #15673
Unanswered
koodistrom
asked this question in
Q&A
Replies: 1 comment
-
Would be awesome to leverage the advantages of HMR on a service worker. Any news about that? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello and thank you for the contributors for an awesome tool!
I am working on a web app where quite sizable web assembly module is initialized in a service worker. Re initializing it every time I update code in the worker makes the developer experience crummy.
To my understanding currently Vite doesn't support HMR for workers and only thing I could find about it was this abandoned pr: #10262
Any tips how to get HMR working with workers or otherwise mitigate the problem?
(other than picking the pr and trying to continue the work from there, which could be interesting, but probably quite slow for me since I am not really familiar with internal workings of Vite.)
Beta Was this translation helpful? Give feedback.
All reactions