listen 2.8.0 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/listen/record/symlink_detector.rb +13 -9
- data/lib/listen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 564ec4894c98d82d45f5fe13552779dc82a99aef
|
|
4
|
+
data.tar.gz: 564f4150846dd6a22741af85af7576b474f878b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69319e63efa594a612acae069cba16a0df900e2ba92ba0c110ef088833929d82197b0c7ff03f549c4b27d9db211093f2278a02e56ee57b5f541f53ebad926985
|
|
7
|
+
data.tar.gz: 645d9ed317278c3abee4df7f2ded2810d46f9bacb42514fe8deeb37b9898b294aaf59975e786cb16b0832b94dd7a5560a664603d9243f20bdb83a66c75a54c0e
|
|
@@ -7,20 +7,28 @@ module Listen
|
|
|
7
7
|
SYMLINK_LOOP_ERROR = <<-EOS
|
|
8
8
|
** ERROR: Listen detected a duplicate directory being watched! **
|
|
9
9
|
|
|
10
|
-
(This may be due to symlinks pointing to
|
|
10
|
+
(This may be due to multiple symlinks pointing to already watched dirs).
|
|
11
11
|
|
|
12
12
|
Duplicate: %s
|
|
13
13
|
|
|
14
14
|
which already is added as: %s
|
|
15
15
|
|
|
16
|
-
Listen is refusing to continue, because
|
|
17
|
-
|
|
16
|
+
Listen is refusing to continue, because it may cause an infinite loop,
|
|
17
|
+
a crash or confusing results.
|
|
18
18
|
|
|
19
19
|
Suggestions:
|
|
20
20
|
|
|
21
|
-
1) (best option) watch only directories you care about
|
|
21
|
+
1) (best option) watch only directories you care about (e.g.
|
|
22
22
|
either symlinked folders or folders with the real directories,
|
|
23
|
-
but not both.
|
|
23
|
+
but not both).
|
|
24
|
+
|
|
25
|
+
IMPORTANT: The `:ignore` options DO NOT HELP here
|
|
26
|
+
(see: https://github.com/guard/listen/issues/274)
|
|
27
|
+
|
|
28
|
+
NOTE: If you are using Listen through some other application
|
|
29
|
+
(like Guard, Compass, Jekyll, Vagrant), check the documentation on
|
|
30
|
+
selecting watched directories (e.g. Guard has a `-w` option, Compass
|
|
31
|
+
allows you to specify multiple input/output directories, etc.)
|
|
24
32
|
|
|
25
33
|
2) reorganize your project so that watched directories do not
|
|
26
34
|
contain symlinked directories
|
|
@@ -30,10 +38,6 @@ module Listen
|
|
|
30
38
|
them, and then reasonably choose which symlinked paths to
|
|
31
39
|
report as changed (if any)
|
|
32
40
|
|
|
33
|
-
4) (not worth it) help implement a "reverse symlink lookup"
|
|
34
|
-
function in Listen, which - given a real directory - would
|
|
35
|
-
return all the symlinks pointing to that directory
|
|
36
|
-
|
|
37
41
|
Issue: https://github.com/guard/listen/issues/259
|
|
38
42
|
EOS
|
|
39
43
|
|
data/lib/listen/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: listen
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.8.
|
|
4
|
+
version: 2.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Thibaud Guillaume-Gentil
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-11-
|
|
11
|
+
date: 2014-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: celluloid
|