-
Notifications
You must be signed in to change notification settings - Fork 330
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
Exclude items with poll_monitor not considered #66
Comments
Hi @walterdolce, This looks like a bug: every monitor should honour the exclusion/inclusion patterns. I'll have a look at it ASAP. |
Hi @walterdolce, There's a bug in the The Cheers, Enrico. |
Ah! Thanks for this @emcrisostomo . So to exclude a directory and its content one should not put the ending forward slash? In the mean time though, I look forward for the fix as I will probably use the Thanks! |
Hi @emcrisostomo . Is there a way I could contribute on this? Note that I'm not a C/C++ developer but I could start at any time given some guidance :-P Thanks! |
Hi @walterdolce, Sorry for the belated answer and thanks for the offer. In this case, it was not complexity, but available time the reason to delay this. I've just pushed 1.4.5.2 to the repository, and I'm preparing MacPorts and Homebrew package updates. I'm going to close this issue. Now, to answer your questions: yes, regular expressions are used and directories do not contain a final path separator character. Hence, to filter them out, you should not add it, otherwise the event path will not be matched. Cheers. |
Hi @emcrisostomo . Thank you so much for this. Guess Homebrew package is not yet updated as I have Will wait for that and let you know. Cheers! |
Hi @walterdolce, Yes, you've got to wait for their build machines to prepare the package. Here is the status of the 1.4.5.2 package and as you can see the package build is OK and it's in queue for merging. Cheers. |
Thank you for the link above. I'm afraid though that exclusions are still not working. Following are the commands I launched. All of them were failing:
Note that I've also sent the path with final forward slashes, just to double check. On versioning specifically, note that Thanks! |
Hi @walterdolce, I made a test and it works here:
and I see no output when I touch files into if you don't see
Could you download the release source tarball and build it yourself? If there's some problem with Homebrew and the 4-digit versioning scheme I use, I guess I'll think about changing it. |
Hi @emcrisostomo . Yes. I can definitely confirm that after manually installing it from the above it's working as expected. Thank you so much! Have a nice weekend. Best, |
Hi @walterdolce, Cool, thanks for confirming this. Have a nice weekend too. Cheers, Enrico |
Hi Enrico, First of all I want to say thanks for the application, it's really nice. Looks like the regex in I am running an application, version 1.9.3, in this way:
when I do
the problem in my case I have 21 million of files and I need to exclude that paths to make this polling not running forever, but looks like this doesn't work for me for some reason. |
Hi @ihorman, This definitely looks like a different issue. Furthermore, this one is marked as close. Would you please open a new one? I'll have a look at it in the next few days. |
Opened #151 |
Dear Enrico,
Thank you!
Best Regards,
Ihor
2016-12-05 10:59 GMT+01:00 Enrico Maria Crisostomo <notifications@github.com
…:
Opened #151 <#151>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#66 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF9qCWfkDogFktaQQmf6Eiogno3b30Tbks5rE-CXgaJpZM4C0n9B>
.
--
Best wishes and regards
Ihor Kolodyuk
|
Hi @emcrisostomo. As per #62, I was trying a different monitor but it seems that by using the ones below the
-e
parameter items are not taken into account.When I launch:
or:
And I modify a file in the same directory, I get notified about what's in the
.git/
folder as well.I also tried by not escaping the dot (
.
) in the.git/
parameter item just to double check and I get the same result (of course I'd say as it requires a regexp).Is the excluded items feature something specifically related to FSEvents not supported by the ones above?
Do
kqueue_monitor
orpoll_monitor
require different param settings to exclude items?Version in use is
fswatch 1.4.5
Thank you!
The text was updated successfully, but these errors were encountered: