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

Reflexes trigger twice on Mac OS #11

Closed
cespare opened this issue Apr 26, 2014 · 1 comment
Closed

Reflexes trigger twice on Mac OS #11

cespare opened this issue Apr 26, 2014 · 1 comment
Labels

Comments

@cespare
Copy link
Owner

cespare commented Apr 26, 2014

Tried with a trivial watch:

reflex -v -g '*.go' -- echo {}

It triggers twice when saving a Go file (tried vim and nano).

@cespare cespare added the bug label Apr 26, 2014
@cespare
Copy link
Owner Author

cespare commented Apr 26, 2014

Related? howeyc/fsnotify#91

cespare added a commit that referenced this issue Apr 26, 2014
This fixes an issue on Mac OS where Spotlight makes attribute changes to
files after each change (after a small delay), triggering reflex
multiple times.

I think it's intuitive that attr changes wouldn't trigger reflex. If
this turns out not to be true, we can be more selective about ignoring
events in the future.

Fixes issue #11.
@cespare cespare closed this as completed Apr 26, 2014
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

1 participant