You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: stream live compilation output to Tauri viewer #43
When fastled --app launches the Tauri viewer, pipe the live compilation build stream into the browser window so the user sees real-time progress instead of a blank/waiting screen during compilation.
Current behavior
fastled --app starts compiling
Tauri viewer opens and shows "Waiting for compiled output..." or a blank page
User has no visibility into build progress until compilation finishes
The URL/port of the local server is not displayed in the terminal log
Desired behavior
fastled --app starts compiling
Tauri viewer opens immediately and shows a live build log (streaming text or a progress UI)
As compilation progresses, the viewer updates in real-time (stdout/stderr from emcc, meson, esbuild)
When compilation succeeds, the viewer automatically transitions to showing the compiled sketch
On recompilation (watch mode), the viewer shows a brief "Recompiling..." overlay then refreshes
The terminal log prints the local URL and port being used, e.g.:
FastLED viewer running at: fastled://localhost/ (native)
Flask server at: https://127.0.0.1:8122
Implementation ideas
Use Tauri IPC (invoke / emit) to push build log lines from Rust/Python to the webview
Or: have the Flask server expose a /build-status SSE (Server-Sent Events) endpoint that the frontend subscribes to
The frontend could show a terminal-style log panel that auto-scrolls during compilation
On build success, automatically load the WASM output and hide the log panel
Acceptance criteria
Tauri viewer shows live build output during compilation
Terminal log displays the URL/port being served
Watch mode: viewer shows recompilation progress and auto-refreshes
No regression: --just-compile still works without a viewer
Activity
feat: stream live compilation output to Tauri viewer via SSE (#43)
feat: stream live compilation output to Tauri viewer via SSE (#43) (#53)