[fix] Watch the right directory;

This commit is contained in:
Benjamin Bouvier 2019-06-30 23:52:25 +02:00
parent 93e6544b13
commit c9febb25d3
1 changed files with 1 additions and 1 deletions

View File

@ -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 {