[−][src]Function watchexec::run::watch
pub fn watch<H>(handler: &H) -> Result<()> where
H: Handler,
Starts watching, and calls a handler when something happens.
Given an argument structure and a Handler
type, starts the watcher loop, blocking until done.