Astro Info
Astro v7.0.7
Node v26.4.0
System Windows (x64)
Package Manager pnpm
Output static
Adapter @astrojs/cloudflare
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
In astro dev, updating a markdown file in a content collection (e.g. src/content/blog/post.md) does not refresh the corresponding dynamic slug page (/blog/post).
The dev server logs show the loader reloaded the file ([glob-loader] Reloaded data from ...), but the page continues serving stale content until astro dev is restarted.
Project details from repro:
- Astro
7.0.7
- Windows 10 (x64)
- Node
26.4.0
- pnpm
- Route file:
src/pages/blog/[slug].astro
- Content collection via
glob() in src/content.config.ts
output: "static" with Cloudflare adapter in astro.config.mjs
This appears similar to the previously closed issue #15555, but reproducible on stable 7.x.
What's the expected result?
When a markdown file in the content collection changes during astro dev, the corresponding dynamic slug page should render updated frontmatter/body immediately (without restarting the dev server).
Link to Minimal Reproducible Example
localhost
Participation
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
In
astro dev, updating a markdown file in a content collection (e.g.src/content/blog/post.md) does not refresh the corresponding dynamic slug page (/blog/post).The dev server logs show the loader reloaded the file (
[glob-loader] Reloaded data from ...), but the page continues serving stale content untilastro devis restarted.Project details from repro:
7.0.726.4.0src/pages/blog/[slug].astroglob()insrc/content.config.tsoutput: "static"with Cloudflare adapter inastro.config.mjsThis appears similar to the previously closed issue #15555, but reproducible on stable 7.x.
What's the expected result?
When a markdown file in the content collection changes during
astro dev, the corresponding dynamic slug page should render updated frontmatter/body immediately (without restarting the dev server).Link to Minimal Reproducible Example
localhost
Participation