From 5a245e5e7a22e7d5888a86440455f88464205071 Mon Sep 17 00:00:00 2001
From: LilianBarbe <110779804+LilianBarbe@users.noreply.github.com>
Date: Tue, 13 Oct 2026 14:15:38 +0200
Subject: [PATCH] fix(preview): a canvas patch keeps the CSS Vite hot-swapped
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
A style edit written to a stylesheet that reaches the page through a CSS
`@import` (global.css importing utilities.css) showed on the canvas and
was then lost, or never showed: the file held the new value, the canvas
the one from when the dev server started.
Astro renders such a stylesheet from its first server-side compile for as
long as the server runs, while Vite hot-swaps the live ` +
- `` +
- '