Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate directory watching errors using guard #138

Closed
joe4dev opened this issue Sep 20, 2016 · 2 comments
Closed

Duplicate directory watching errors using guard #138

joe4dev opened this issue Sep 20, 2016 · 2 comments
Labels

Comments

@joe4dev
Copy link
Collaborator

joe4dev commented Sep 20, 2016

Guard cannot cope appropriately with the many symlinks from the .wercker build directory causing duplicate watching errors:

** ERROR: directory is already being watched! **
  • The ignore clause cannot be used in the Guardfile
  • Many duplicate watches can cause performance issues

This issue is further described in https://github.com/guard/listen/wiki/Duplicate-directory-errors
There seems to be no suitable solution beyond the workarounds:
a) Downgrade to the listen gem 2.7
b) Monkey-path listen to suppress the error message

@joe4dev joe4dev added the bug label Sep 20, 2016
@inz
Copy link
Collaborator

inz commented Sep 21, 2016

My solution to this is to set $WERCKER_WORKING_DIR to something outside the project directory, i.e. ~/.wercker/projects.

@joe4dev
Copy link
Collaborator Author

joe4dev commented Sep 23, 2016

Thanks for the hint 👍

Much better, solves the issue.

@joe4dev joe4dev closed this as completed Sep 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants