From c9febb25d35a574f13353779fa4d3ddac38ecaf5 Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Sun, 30 Jun 2019 23:52:25 +0200 Subject: [PATCH] [fix] Watch the right directory; --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {