Skip to main content

Module watch

Module watch 

Source
Available on crate feature watch only.
Expand description

The filesystem watcher behind hot reload.

Structs§

WatchHandle
Keeps a watcher alive. Dropping it stops watching.

Enums§

WatchMode
How to detect changes.

Functions§

spawn
Starts a background thread that runs reload whenever one of files changes.
spawn_with
spawn, with the detection strategy chosen explicitly.