Fix compilation failure
This commit is contained in:
parent
b1ca805d2a
commit
8b486dfc71
|
@ -149,7 +149,10 @@ where
|
||||||
for dir in &book.config.build.extra_watch_dirs {
|
for dir in &book.config.build.extra_watch_dirs {
|
||||||
let path = dir.canonicalize().unwrap();
|
let path = dir.canonicalize().unwrap();
|
||||||
if let Err(e) = watcher.watch(&path, Recursive) {
|
if let Err(e) = watcher.watch(&path, Recursive) {
|
||||||
error!("Error while watching extra directory {path:?}:\n {e:?}");
|
error!(
|
||||||
|
"Error while watching extra directory {:?}:\n {:?}",
|
||||||
|
path, e
|
||||||
|
);
|
||||||
std::process::exit(1);
|
std::process::exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue