Replies: 1 comment
-
|
From the Vite config docs, these two switches control different things:
So there isn't a separate third "disable both together" flag because those are already the two knobs. If you're still seeing an overlay after setting So the intended config would be: export default defineConfig({
server: {
hmr: false,
},
})or, if you still want HMR but not the overlay: export default defineConfig({
server: {
hmr: {
overlay: false,
},
},
})If you can share what exact overlay/error is still appearing, that would help confirm whether it's coming from HMR or from a different dev-server path. |
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.
-
When I set server.hmr to false, the server.hmr.overlay functionality is still enabled;
When I set server.hmr.overlay to false, the server.hmr functionality remains enabled;
It appears impossible to disable both.
Beta Was this translation helpful? Give feedback.
All reactions