mix plushie.gui (Plushie v0.6.0)

Copy Markdown View Source

Starts a Plushie GUI application.

Usage

mix plushie.gui MyApp
mix plushie.gui MyApp --build
mix plushie.gui MyApp --no-watch

Options

  • --build -- Build the plushie binary before starting
  • --release -- Use the release build
  • --json -- Use JSON wire protocol (debugging)
  • --watch -- Enable file watching and live reload
  • --no-watch -- Disable file watching
  • --debounce -- File watch debounce interval in ms (default: 100)
  • --daemon -- Keep running after the last window closes

File watching

File watching is opt-in. Enable it with --watch or by setting config :plushie, code_reloader: true in your config. When active, editing any .ex file under lib/ recompiles and updates the GUI in place, preserving application state.