Skip to content

Development server doesn't work with test mode #4620

@luixo

Description

@luixo

Which project does this relate to?

Start

Describe the bug

Hello,
I've updated to devinxi version of Tanstack Router and found out dev server doesn't work with Vite's --mode test.
I use test mode to enable specific instrumentation in test environment (Playwright) and generally believe this kind of change should be justified with a comment or removed.

Steps to Reproduce the Bug or Issue

  1. Run basic example with vite dev --mode test
  2. Verify dev server doesn't work

Expected behavior

I expect dev server to still work with test mode.

Screenshots or Videos

No response

Platform

  • Router / Start Version: 1.125.6
  • OS: -
  • Browser: -
  • Browser Version: -
  • Bundler: Vite
  • Bundler Version: -

Additional context

This change was made during devinxi change and is located in start-plugin-code module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    startEverything about TanStack Start

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions