Skip to content

Start: Ssr doesn't reflect changes with bundledDev: true #7535

Done

Description

@CamBurris

Which project does this relate to?

Start

Describe the bug

Ssr content does not appear to reflect changes to source files when the vite config experimental: { bundledDev: true } is enabled.

Hmr updates to the files does appear to work as expected. It is only the server side content that doesn't update.

Complete minimal reproducer

https://github.com/CamBurris/tanstack-start-bundled-dev

Steps to Reproduce the Bug

  1. Clone repo and install deps
  2. Start with npm run dev
  3. Make a change to a file that will appear on the page. I used routes/index.tsx.
  4. You will see the page updated via hmr to reflect the change.
  5. Reload the page in the browser. You will see the ssr version of the page is not updated.

Expected behavior

Ssr version of page should reflect changes to files.

Screenshots or Videos

No response

Platform

  • Router / Start Version: 1.170.11
  • OS: macOS
  • Browser: Chrome
  • Browser Version: 148
  • Bundler: vite
  • Bundler Version: 8.0.16

Additional context

No response

Activity

  1. hyfdev commented on Nov 26, 2026

    @hyfdev

    This is fixed by #7830.

    With bundledDev: true and Start 1.169.7, a reload after a route edit now returns the updated SSR HTML.

    I checked with Vite 8.0.16 and 8.4.0-beta.2.

    Removing the SSR watchChange hook that #7830 added brings the stale HTML back.

  2. schiller-manuel commented on Nov 26, 2026

    @schiller-manuel
    Collaborator

    thanks for checking!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions