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

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

Closed
7 tasks done
hi-ogawa opened this issue Jan 12, 2025 · 0 comments · Fixed by #19193
Closed
7 tasks done

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

hi-ogawa opened this issue Jan 12, 2025 · 0 comments · Fixed by #19193
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)

Comments

@hi-ogawa
Copy link
Collaborator

Describe the bug

This happens since Vite 6. Seeing (ssr) logs on SPA app looks surprising. Also I'm not sure whether index.html reload is even necessary for SSR app.

Reproduction

https://stackblitz.com/edit/vitejs-vite-yxojbuwh?file=index.html

Steps to reproduce

Open https://vite.new/ and change index.html

1:30:20 PM [vite] (client) page reload index.html
1:30:20 PM [vite] (ssr) page reload index.html (x2)

System Info

(stackblitz)

  System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    vite: ^6.0.7 => 6.0.7

Used Package Manager

npm

Logs

No response

Validations

@patak-dev patak-dev added p3-minor-bug An edge case that only affects very specific usage (priority) and removed pending triage labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants