Skip to content

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

Closed
@hi-ogawa

Description

@hi-ogawa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    p3-minor-bugAn edge case that only affects very specific usage (priority)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions