Replies: 3 comments 4 replies
-
Investigating a bit I've noticed this: Vite is immediately notifying the browser about the changes through the websocket channel. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Ok, an update: This seems to be only happening in firefox (private tab or not). I've now tried with chrome and the problem doesn't manifest there. and Windows 10 is the OS |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've noticed that Vite HMR takes a few seconds to show changes on the browser the first time I make a change, but subsequent changes are instantaneously reflected in the browser.
If I don't make any changes for 10 seconds and try again then the delay happens again.
Feels like Vite falls asleep waiting for changes.
This is a bit annoying, I'd like to know why it happens and if there's anything I can do to prevent from Vite from sleeping like this.
Beta Was this translation helpful? Give feedback.
All reactions