51811d4f57
- 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
2.4 KiB
2.4 KiB