content collections stop updating in dev server after restarting for Astro config updates #12976
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
feat: content layer
Related to the Content Layer feature (scope)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When running the dev server, if the Astro config file is updated, it will log
Configuration file updated. Restarting...
and then it stops reloading data from content collection entries when they are updated.To reproduce:
Reloaded data from ...
)Configuration file updated. Restarting...
)Reloading the page also does nothing. Updates to normal pages and the astro config afterwards still seem to work as normal, only content collections stop updating. Tested with both
glob
andfile
loaders.What's the expected result?
Content collection entries should continue to update as per normal when they are updated when the dev server is running.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-7qypgdqh
Participation
The text was updated successfully, but these errors were encountered: