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 {
|
||||
let path = dir.canonicalize().unwrap();
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue