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
I was not able to get the HMR working. When I change my code to look like yours however I get the following issue. This screen keeps flickering. I don't understand enough to debug further.
My response:
try it one more time. This is an issue i also have sometimes when swiching branches - restarting the dev server several times helps (and if not remove .vite or node_modules, npm install and run again). It is independent from HMR but something with a server startup.
This is an issue i experience sometimes when swiching branches - restarting the dev server several times helps (and if not remove .vite or node_modules, npm install and run again)
Reproduction
Have a project with popup in react
Switch branch when vite dev is opened
The popup will go into 'vite dev mode' forever
Kill the dev server
Start it again
Nothing changes
Try again and again and eventually it will load
I need more people to report it so that we can have a proper repro. For me its when i switch branches but im not sure what is the solution. Sometimes i delete node_modules and .vite folders but its not 100% guaranteed to fix the issue
Logs
Just 404s from the dev server.
The popup devtools just gets HTTP 404 in a infinity loop
I had the same issue, and I was also jumping between branches. I could not yet find it, and at the moment of reading your comment, I have no access to my dev setup. Will try further soon
Toumash
changed the title
popup freezes on 'vite dev mode' after switching branchaes
popup freezes on 'vite dev mode' after switching branches
Aug 23, 2024
Toumash
changed the title
popup freezes on 'vite dev mode' after switching branches
popup freezes / flickers on 'vite dev mode' after switching branches
Oct 18, 2024
Build tool
Vite
Where do you see the problem?
Describe the bug
Originally posted by @mp3por in #892 (comment)
My response:
This is an issue i experience sometimes when swiching branches - restarting the dev server several times helps (and if not remove .vite or node_modules, npm install and run again)
Reproduction
I need more people to report it so that we can have a proper repro. For me its when i switch branches but im not sure what is the solution. Sometimes i delete node_modules and .vite folders but its not 100% guaranteed to fix the issue
Logs
Just 404s from the dev server. The popup devtools just gets HTTP 404 in a infinity loop
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: