Fitz language gets Vite-like dev loop with hot reload and state preservation for WebAssembly
Fitz, a compiled language that targets native binaries via Rust and WebAssembly for the frontend, has introduced a fast development server called 'fitz dev' as part of its ongoing series. The tool delivers incremental rebuilds in roughly one to two seconds using wasm-pack, a built-in dev server, and automatic browser refresh over WebSocket — eliminating manual page reloads. A key feature is state preservation across reloads: component state such as counters and lists is serialized to sessionStorage before a rebuild and restored afterward, so developers continue testing from the exact state they left. The latest addition extends live reloading to the project manifest, meaning changes to fitz.toml — including entry points, dependencies, and flags — are picked up without restarting the dev server. If the manifest contains a parse error, the server logs it and continues serving the last valid bundle until a correct save is detected.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in