[fix] Watch the right directory;
This commit is contained in:
parent
93e6544b13
commit
c9febb25d3
@ -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…
Reference in New Issue
Block a user