8000 [start/alpha] [Bug] Dev server crashes when moving an existing route file into a folder · Issue #4343 · TanStack/router · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[start/alpha] [Bug] Dev server crashes when moving an existing route file into a folder #4343
Open
@ThimoDEV

Description

@ThimoDEV

Which project does this relate to?

Start

Describe the bug

When running the alpha tanstack start dev server. I tried to move a route file into a folder. This causes the dev server t ocrash and doesn't make the routeTree.gen.ts to refresh. I need to delete the gen file to fix it.

Your Example Website or App

https://github.com/ThimoDEV/tanstack-start-alpha-bugs

Steps to Reproduce the Bug or Issue

  1. Start dev server
  2. Move the file hi.tsx into the ./src/routes/test folder
  3. Try to rename hi.tsx to index.tsx
  4. Notice the error in terminal

Expected behavior

As a user, I expect to move a route file into another folder while the dev server is running. I also would think the routeTree.gen would recover when I fix the route file structure, or have it recovered on chrome hard refresh

Screenshots or Videos

No response

Platform

  • OS: Windows 11
  • Browser: Chrome
  • Version: V137

Additional context

Image

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

      0