From 34a34f9399015bbd351113675928295f42f74369 Mon Sep 17 00:00:00 2001 From: Bernardo Date: Wed, 23 Jan 2019 18:42:26 +0100 Subject: use released `notifiy` version, add TODO comment --- crates/ra_vfs/Cargo.toml | 3 +-- crates/ra_vfs/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'crates') diff --git a/crates/ra_vfs/Cargo.toml b/crates/ra_vfs/Cargo.toml index c7c4769b3..383381d2a 100644 --- a/crates/ra_vfs/Cargo.toml +++ b/crates/ra_vfs/Cargo.toml @@ -10,8 +10,7 @@ relative-path = "0.4.0" rustc-hash = "1.0" crossbeam-channel = "0.3.5" log = "0.4.6" -# until https://github.com/passcod/notify/issues/169 is fixed -notify = { git = "https://github.com/vemoo/notify/", branch = "v4-legacy" } +notify = "4.0.7" drop_bomb = "0.1.0" parking_lot = "0.7.0" diff --git a/crates/ra_vfs/src/lib.rs b/crates/ra_vfs/src/lib.rs index 4f3896a82..bcff7928b 100644 --- a/crates/ra_vfs/src/lib.rs +++ b/crates/ra_vfs/src/lib.rs @@ -61,7 +61,7 @@ pub(crate) fn default_filter(path: &Path, rel_path: &RelativePath) -> bool { if path.is_dir() { for (i, c) in rel_path.components().enumerate() { if let Component::Normal(c) = c { - // hardcoded for now + // TODO hardcoded for now if (i == 0 && c == "target") || c == ".git" || c == "node_modules" { return false; } -- cgit v1.2.3