Properly ignore FS events of excluded files

This commit is contained in:
Kirill Bulatov 2023-11-24 11:57:06 +02:00
parent 4a060db801
commit 95a413847a
2 changed files with 50 additions and 48 deletions

View file

@ -5835,7 +5835,7 @@ impl Project {
ignored_paths_to_process.pop_front()
{
if !query.file_matches(Some(&ignored_abs_path))
|| snapshot.is_abs_path_excluded(&ignored_abs_path)
|| snapshot.is_path_excluded(&ignored_abs_path)
{
continue;
}