dynpatch-watcher
File watching and live config reloading for dynpatch.
Features
- File watching: Monitor files for changes using
notify - Config hot-reloading: Automatically reload configuration files
- Multiple formats: Support for JSON, TOML, and YAML
- Lock-free updates: Use
arc-swapfor thread-safe config access - Validation hooks: Validate configs before applying
Example
use ;
use ;
Features
json(default) - JSON format supporttoml(default) - TOML format supportyaml(default) - YAML format support
License
MIT - See LICENSE file for details