docs(skills): reload open pages after the server has the saved content
The deco-v7-to-v8-migration reference (reference/content.md, "Editing locally") told sites to send full-reload from a Vite hotUpdate hook on .deco/blocks.gen.ts. That hook fires before the worker re-imports the content, so the reloaded page renders the previous save, and the site editor's local preview (Localhost and /site-editor) stays one edit behind.
The bullet now says to send the reload from cms.ts's import.meta.hot.accept callback, after createCMS takes the new module (import.meta.hot.send("site:content-updated")), and to have the plugin listen in configureServer (server.environments.ssr.hot.on(...)) and send full-reload from there.
The same fix is in the demo store (deco-sites/demo-storefront#131, be699ee). With deco serve + vite dev: before, 1 of 4 saves showed on the reload; after, 5/5 single saves and 4/4 save bursts did.
Docs only. bun run skills:check and skills:readme:check pass.
š¤ Generated with Claude Code
https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
Summary by cubic
Updates the deco-v7-to-v8-migration reference to reload open pages only after the server has the saved content. The old instruction sent full-reload from a hotUpdate hook on .deco/blocks.gen.ts, which fires before the worker re-imports the content and leaves the site editor preview one save behind. The reference now directs sending the reload from cms.ts's import.meta.hot.accept callback after createCMS takes the new module, with the plugin listening in configureServer.