Skip to main content

Module watcher

Module watcher 

Source
Expand description

File watcher for configuration files.

Watches for changes to:

  • config/*.yaml files (workflow definitions, config)
  • task-graph/skills/ directory (custom skills)

Emits reload events through a tokio watch channel when changes are detected. Uses debouncing to coalesce rapid file changes.

Structs§

ConfigWatcherHandle
Handle to control the config watcher.
WatchPaths
Paths to watch for configuration changes.
WatcherConfig
Configuration for the file watcher.

Enums§

ConfigChangeEvent
Event types emitted when configuration files change.

Functions§

start_config_watcher
Starts the configuration file watcher.