diff --git a/src/main.rs b/src/main.rs index d8a8364..2d7b3c1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -227,7 +227,7 @@ fn main() -> Result<(), io::Error> { let mut watcher: RecommendedWatcher = Watcher::new(tx, Duration::from_secs(2)).unwrap(); watcher - .watch("./assets/", RecursiveMode::Recursive) + .watch(&context.config.path_in, RecursiveMode::Recursive) .unwrap(); loop {