pub fn init(
    package: &'static str,
    package_source_dir: &'static str
) -> Arc<Mutex<Option<LoadedLib>>>
Expand description

Initialise a watcher.

This will search for the directory named package_source_dir and watch the files within it for any changes.