Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Vite - Constant restart due to files changed (TanStack Start) #591

Open
Assignees
Labels
bugSomething isn't working
@tsteckenborn

Description

Hey there,

with the newest release of TanStack changing to Vite directly I tried to migrate. Currently I'm facing the challenge that vite seems to detect the generated files as being changed constantly, leading to a server restart:

[vite] .content-collections/generated/allPosts.js changed, restarting server...
[vite] .content-collections/generated/index.js changed, restarting server...
Starting content-collections with config content-collections.ts
Start watching
Start initial build
build started ...
... finished build of 1 collection and 2 documents in 9ms

Is there any know footgun around that? I assume user error on my part, yet couldn't quickly find a solution.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /