We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40c034e commit 7082689Copy full SHA for 7082689
src/cmd/watch.rs
@@ -87,6 +87,8 @@ fn find_gitignore(book_root: &Path) -> Option<PathBuf> {
87
.find(|p| p.exists())
88
}
89
90
+// Using `canonicalize` can fail on Windows sometimes, might be a potential risk.
91
+// see ([https://github.com/rust-lang/mdBook/pull/2229#discussion_r1408665981).
92
fn filter_ignored_files(ignore: Gitignore, paths: &[PathBuf]) -> Vec<PathBuf> {
93
let ignore_root = ignore
94
.path()
0 commit comments