diff --git a/crates/mun_runtime/src/lib.rs b/crates/mun_runtime/src/lib.rs index b8d9fd9e2..10a3645ab 100644 --- a/crates/mun_runtime/src/lib.rs +++ b/crates/mun_runtime/src/lib.rs @@ -131,7 +131,7 @@ impl Runtime { assembly.link(&self.dispatch_table)?; self.watcher - .watch(library_path.clone(), RecursiveMode::NonRecursive)?; + .watch(library_path.parent().unwrap(), RecursiveMode::NonRecursive)?; self.assemblies.insert(library_path, assembly); Ok(())