Minor Changes
-
#384
958c683- feat: deliver devtools events from isolated server runtimes over Vite's native HotChannelServer code running in an isolated runtime (Nitro v3 worker thread, Cloudflare
workerd, or any separate thread/process) does not shareglobalThis.__TANSTACK_EVENT_TARGET__with the Vite dev process, so devtools events emitted on the server never reached the panel.The Vite plugin now bridges those events over the framework's existing
import.meta.hotHotChannel — the same connection the runtime already uses for HMR. It injects a tiny, dev-only bridge into the event client when it runs in a non-client environment and wires each server environment's hot channel to the in-processServerEventBus. No new WebSocket, no fetch, no reconnect logic, and no new runtime dependencies; the bridge is fully tree-shaken in production.