Files
I-SecretUpdate/config.toml
T
Inorishio 51811d4f57 Add hot-reload config support to detect and apply changes without restart
- Create ConfigWatcher module to monitor config.toml for modifications
- Add get_config_path() to consistently determine config file location
- Implement hot-reload detection in update() that checks for file changes each frame
- Add apply_config_changes() method to handle config updates gracefully
- Add PartialEq derive to all config structs to enable change detection
- Config changes now apply immediately without requiring app restart
- Background opacity, colors, text sizing, and other settings update live
- Log all detected changes for debugging and user awareness
- Fixes issue where config.toml changes were only applied when running from cargo run
2026-02-06 12:23:28 +01:00

2.4 KiB