Registry / utility / hotwatch

hotwatch

JSON →
library0.5.0rscratesunverified

A Rust library for conveniently watching and handling file changes.

# Cargo.toml [dependencies] hotwatch = "0.5.0"
INSTALL
IMPORT
SIG · HOTWATCH
H
hotwatch
utilityrustv0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Hotwatch
use hotwatch::Hotwatch;

Watch a directory for file changes and handle events.

use hotwatch::Hotwatch; let mut hotwatch = Hotwatch::new().unwrap(); hotwatch.watch("./", |event| println!("File changed: {:?}", event)).unwrap(); hotwatch.run();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
hotwatch — cargo add hotwatch · libregistry