Moving folders with images out of the content collection while the dev server is running breaks it #13149
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?
N/A
Describe the Bug
When the live Astro dev server is running, attempting to move any folder containing an image out of a content collection will break it and cause a build failure.
On StackBlitz, you should get something like this:
What's the expected result?
The Astro dev server should not crash and not have a build failure if a piece of content is removed from the collection that references images
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-vo52mlan?file=src%2Fcontent%2Fblog%2Ftest-post%2Findex.md
Participation
The text was updated successfully, but these errors were encountered: