[fix] Watch the right directory;

master
Benjamin Bouvier 3 years ago
parent 93e6544b13
commit c9febb25d3
  1. 2
      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 {

Loading…
Cancel
Save