[fix] Watch the right directory;

This commit is contained in:
Benjamin Bouvier 2019-06-30 23:52:25 +02:00
parent 93e6544b13
commit c9febb25d3

View File

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