@cloudflare/vite-plugin@1.45.1
Patch Changes
-
#14610
e727842Thanks @martijnwalraven! - Keep watching config changes after a failed dev server restartPreviously, when a config change made the dev server restart fail — for example because the updated Worker config was invalid — the plugin stopped watching config changes entirely: the change handler (covering the Worker config files, local dev vars, and the assets configuration) removed itself before restarting, and only a successfully created server would register a fresh one. Since Vite keeps the current server running when a restart fails, every subsequent config change (including the one that fixes the config) was silently ignored for the rest of the session.
The handler now stays registered and guards against re-entrant restarts instead, so fixing the config restarts the dev server as expected.
-
#14418
cb30df3Thanks @matthewdavidrodgers! - Improve routing performance for Workers with assetsReduce request handling latency by streamlining the router Worker's request path. The loopback infrastructure remains available for future use.
-
Updated dependencies [
34e696d,d39ae01,3de70df,c79504f,9f04a7e,9f04a7e,cb30df3,cb6c3f9,c7dbe1a,3f3afbb,e6fbc4e,4e1a7a7,9f04a7e]:- miniflare@4.20260714.0
- wrangler@4.112.0