-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HMR does not work in Brave browser #13243
Comments
I can't reproduce this with a new project and a fresh install of Brave on Windows 11. Do you have any extensions installed that could be causing this? It could by why it works in private mode where most extensions are disabled. |
it's happening also to me, i think ubuntu automatically updated brave and i'm having the same issue, i also disabled all the extensions, it works only in incognito mode. i'm working on a vue app + vitepress
|
I can't reproduce this using the same version of brave ( |
yes, and same behaviour :( |
Good idea, I have some extensions installed, and, as I described in the issue, HMR does actually work in private tabs where extensions are disabled. |
This looks like a non-SvelteKit-related issue -- it seems to have something to do with a bug in Brave or an extension mucking things up. I'm going to leave this issue open for a bit so you can all use it to see if you can work out the issue, but I'll be closing it in a few days unless we can find something that actually points back to Kit. |
Describe the bug
Hot Module Reloading does not work in the Brave browser normal tabs. However, it does work in Chrome and in Brave in private tabs. Not really a big issue, just a bit annoying.
The issue is probably caused by trying to construct a websocket on ws://localhost:undefined/ (see logs), which should have probably been localhost:5173.
Reproduction
cleared browser cache on localhost:5173
$pnpx sv create
$pnpm dev --open
open localhost:5173 in private tab too
edit +page.svelte and save
result: page in private tab changes instantly, in the normal tab it doesn't. (it does after refreshing)
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: