deskflow / deskflow/deskflow

Hot config reload without needing to restart process

Open
#7,803 2 comments 1 reaction 0 assignees View on GitHub
✨ enhancement
Dominant language
C++
Stars
28.8k
Forks
4.9k
Avg merge
2d 17h
Merged PRs (30d)
21

Description

### Feature Request

Right now we restart the core (server/client) process to reload the config. This is very inefficient, and results in a clunky UX. It also causes UX problems with things like the libportal permission dialog.

Instead of restarting the core process to apply the config, the GUI should simply write to a config file (e.g. `deskflow-config.toml`) and the core process should re-read the config when the file changes. This can either be triggered by watching the file or the GUI could poke the core process through a file socket. This would also help when running the core process as a service (so the GUI doesn't have control over the core process lifecycle; the OS does).

Related: #7804

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.