-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
hot reloading not working #1092
Comments
run into the same issue. |
Same question that's been bothering me. |
I can confirm it's the case on Stackblitz, but it's working fine on my local machine. Haven't had time to dig deeper, before I work on it, any help on investigating or providing more info are appreciated |
@antfu I am running on a local machine, it doesn't work. macOS Ventura |
Provide some information about me to easily reproduce the problem. I don't have time to help with the investigation either Details
System: ➜ pnpm list /Users/wuxh/Code/SelfProject/my-talks/components-dev (PRIVATE) dependencies: devDependencies: |
I actually do see vite outputting "hot reloaded" in the console, but no changes are actually reflected in the dom |
Identified that this issue is introduced in the transcendent dependency
It's because the Vue plugin now assumes HMR should work on an existing file, while Slidev provides them as virtual modules. slidev/packages/slidev/node/plugins/loaders.ts Lines 189 to 198 in 7f01bad
/cc @sxzz Any idea this could be fixed either on Slidev or plugin-vue? A temporary workaround is to pin the version of "resolutions": {
"@vitejs/plugin-vue": "4.3.1"
} Edit: Or you can upgrade to |
I'm investigating this |
Describe the bug
When running slidev with latest versions - hot reloading is not working..
in an older version (0.35~) it seems to work
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: