pub fn spawn(
root: PathBuf,
interval: Duration,
tx: Sender<Msg>,
) -> WatcherHandleExpand description
Spawns the watcher thread. It sends Msg::FilesChanged whenever the
(mtime, size) sweep differs from the previous one.
pub fn spawn(
root: PathBuf,
interval: Duration,
tx: Sender<Msg>,
) -> WatcherHandleSpawns the watcher thread. It sends Msg::FilesChanged whenever the
(mtime, size) sweep differs from the previous one.