skills/smithery.ai/notify-file-watcher

notify-file-watcher

Installation
SKILL.md

notify-file-watcher

Cross-platform filesystem notification library for Rust. Provides native event-driven watching on macOS (FSEvents), Linux (inotify), and Windows (ReadDirectoryChangesW).

Key Types

RecommendedWatcher

Platform-specific watcher selected automatically. Use recommended_watcher() for convenience:

use notify::{recommended_watcher, RecursiveMode, Watcher};

let mut watcher = recommended_watcher(|res| {
    match res {
        Ok(event) => println!("event: {:?}", event),
        Err(e) => println!("watch error: {:?}", e),
    }
})?;
Installs
1
First Seen
Mar 21, 2026