Skip to content

feat: add hot reload with --watch flag for config updtes#11

Open
rammyblog wants to merge 9 commits intoServflow:mainfrom
rammyblog:hot-reload
Open

feat: add hot reload with --watch flag for config updtes#11
rammyblog wants to merge 9 commits intoServflow:mainfrom
rammyblog:hot-reload

Conversation

@rammyblog
Copy link

Add configuration hot reload using fsnotify file watching. Configs can now
be updated without server restart when using --watch flag.

  • Add ConfigManager with thread-safe handler management (RWMutex)
  • Add Watcher with 300ms debouncing for file change detection
  • Implement ProxyHandler pattern for dynamic handler lookup
  • Add --watch flag to start command
  • Add SIGHUP signal handler for manual reload

Usage: servflow start --watch --integrations integrations.yaml configs/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants