Skip to content

v0.17.0 — hot reload by default + doctor coherence/--fix

Latest

Choose a tag to compare

@sazardev sazardev released this 10 Jun 00:22
b2b6973

Live dev flow

  • fugo run hot-reloads by default — it watches .go files and rebuilds/reconnects the Go server on every change while the Flutter window stays open, so edits to text, handlers, layout, etc. show up live (in-memory state resets across reloads). --no-watch for a single build-and-run.
  • fugo doctor coherence check — flags a mismatch between go.mod's module and main.go's <module>/ui import, a missing ui package, or a missing ui.Build, before the generic compile error.
  • fugo doctor --fix — writes a default fugo.toml if missing, runs git init, and go mod tidy, then re-diagnoses.

Fixed

  • Flutter render client: reconnection after a server restart (hot reload) no longer loops with "Bad state: Stream has already been listened to". The gRPC isolate now subscribes to its ReceivePort once and resets its backoff after a connected session, reattaching in ~500ms.

Full diff: v0.16.0...v0.17.0