Skip to content

Why is tanstack router not updating routes? #1180

Closed Answered by Happily-Coding
Happily-Coding asked this question in Questions
Discussion options

You must be logged in to vote

For anyone that comes across this post:

The reason that tan stack router is not updating routes is that docker compose up --build doesnt run the frontend in development mode, if running the project without docker, following the steps located here , the routes will be properly updated.

It makes sense that the plugin doesn't update routes when not in development mode, since otherwise the build you deploy could be different from the build you tested in development, so I don't suggest fixing the issue since its behavior is correct.

That said, I assumed that the docker compose file was meant to be used for local development, unless explicitly overriden, and that doesn't seem to be the case, it…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Happily-Coding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
1 participant