Skip to content

Live-reload the config on file change #4

Description

@fabiosammy

Reload deck.yml automatically when it changes, without restarting the daemon.

What to do

  1. Poll the config mtime (or use a file watcher) inside the supervise loop.
  2. On change: re-parse + re-render, repaint, and handle parse errors gracefully (log and keep the previous config).
  3. Preserve the current layer if it still exists after reload.

Reference: deck.rb TODO header; load_config, render_layers, cmd_run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions