Skip to content
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

fix: avoid SSR HMR for HTML files #19193

Merged
merged 1 commit into from
Jan 14, 2025
Merged

fix: avoid SSR HMR for HTML files #19193

merged 1 commit into from
Jan 14, 2025

Conversation

patak-dev
Copy link
Member

fixes #19185

Description

Align with v5 behavior, we don't need the log and a full-reload for the SSR environment.

I think we still need to find a way to avoid the SSR environment lingering around for SPA, but it is hard to avoid it while maintainer backward compatibility. We may need to wait for the next major for further cleanups.

@patak-dev patak-dev added p3-minor-bug An edge case that only affects very specific usage (priority) feat: environment API Vite Environment API labels Jan 13, 2025
@bluwy bluwy merged commit 3bd55bc into main Jan 14, 2025
26 checks passed
@bluwy bluwy deleted the fix/hmr-for-html-files branch January 14, 2025 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: environment API Vite Environment API p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[vite] (ssr) page reload log on SPA app when changing html files
3 participants