[][src]Function watchexec::run::watch

pub fn watch<H>(args: Args) -> 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).