Skip to main content

watch

Function watch 

Source
pub fn watch(watcher: Watcher) -> Result<(), Watcher>
Expand description

Tells watcher of every file any bundle reads from now on (Bundle::bytes and Bundle::file), on the thread that reads it: for a front end that logs or times what it loads. Set once: a second call gives its watcher back and changes nothing.