You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 30ef3cb
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix: invalidate prerender environment in invalidateDataStore (#17991) (#17999)
When an adapter enables a separate prerender environment (e.g.
@astrojs/cloudflare with prerenderEnvironment: 'node'), prerendered
pages are served by that environment's own module runner and route
cache. invalidateDataStore() only invalidated the ssr environment,
leaving the prerender environment serving stale content after edits.
Iterate over both ssr and prerender environments, following the same
pattern already used by the routes plugin.
Co-authored-by: factory[bot] <factory[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <[email protected]>
Fixes content collection HMR not updating prerendered pages when an adapter enables a separate prerender environment (e.g. `@astrojs/cloudflare` with `prerenderEnvironment: 'node'`)
0 commit comments