aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorBernardo <[email protected]>2019-01-23 17:42:26 +0000
committerAleksey Kladov <[email protected]>2019-01-26 08:46:37 +0000
commit34a34f9399015bbd351113675928295f42f74369 (patch)
tree74bb860676df3e598b5273b09cbc17783aa89975 /crates
parentbe14ab217ce29542a8b2c84282e822adcc69646c (diff)
use released `notifiy` version, add TODO comment
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_vfs/Cargo.toml3
-rw-r--r--crates/ra_vfs/src/lib.rs2
2 files changed, 2 insertions, 3 deletions
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"
10rustc-hash = "1.0" 10rustc-hash = "1.0"
11crossbeam-channel = "0.3.5" 11crossbeam-channel = "0.3.5"
12log = "0.4.6" 12log = "0.4.6"
13# until https://github.com/passcod/notify/issues/169 is fixed 13notify = "4.0.7"
14notify = { git = "https://github.com/vemoo/notify/", branch = "v4-legacy" }
15drop_bomb = "0.1.0" 14drop_bomb = "0.1.0"
16parking_lot = "0.7.0" 15parking_lot = "0.7.0"
17 16
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 {
61 if path.is_dir() { 61 if path.is_dir() {
62 for (i, c) in rel_path.components().enumerate() { 62 for (i, c) in rel_path.components().enumerate() {
63 if let Component::Normal(c) = c { 63 if let Component::Normal(c) = c {
64 // hardcoded for now 64 // TODO hardcoded for now
65 if (i == 0 && c == "target") || c == ".git" || c == "node_modules" { 65 if (i == 0 && c == "target") || c == ".git" || c == "node_modules" {
66 return false; 66 return false;
67 } 67 }