Skip to main content

start_skill_watcher

Function start_skill_watcher 

Source
pub async fn start_skill_watcher(
    skill_service: Arc<SkillService>,
    skills_dir: &str,
) -> Result<SkillFileWatcher>
Expand description

Start watching the given skills directory for changes.

Returns a SkillFileWatcher handle. The watcher runs in a background tokio task and will stop when the handle is dropped.