-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Hello, I'm attempting to use spring-watcher-listen in a large Rails project containing several local symlinks, all of which serve a specific purpose and cannot be removed. Using spring-watcher-listen
with recent versions of listen
(since guard/listen#273), loading spring
spams the following error once for every local symlink in the project:
** ERROR: directory is already being watched! **
Directory: [path]/dir
is already begin watched through: [path]/dir
MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
In response to the issue guard/listen#339 I opened, @e2 suggested that my case might in fact be better solved by patching spring-watcher-listen to call that library more appropriately:
I'm also pretty sure the spring Listen watcher doesn't need to watch the
whole project - so maybe it needs to be patched instead.
Does this suggestion sound correct? If so, any ideas on whether/how it would be possible to patch this library to watch a more selective set of files, in order to resolve this local-symlink error-spam issue in recent versions of Listen?