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

Fix top level exception on unexpected event #12

Merged
merged 1 commit into from
Apr 14, 2021

Conversation

gridbugs
Copy link
Contributor

@gridbugs gridbugs commented Aug 9, 2020

I started hitting this issue on FreeBSD 12: guard/listen#475

I seem to be getting kqueue events with a filter of 0. It's not clear to me what the meaning of such an event is. Prior to this change I would see the behaviour in the linked issue. This patch causes these events to be ignored. I suspect this is just masking a bigger issue, but at least this makes the gem usable for me in the meantime.

I tested this by running a jekyll server on FreeBSD 12 with ruby 2.6.

@trombik
Copy link

trombik commented Sep 29, 2020

the PR works for me.

> sysctl kern.osrelease kern.osrevision
kern.osrelease: 13.0-CURRENT
kern.osrevision: 199506

@0mp
Copy link

0mp commented Oct 18, 2020

Fixes Jekyll live reload on my FreeBSD 13.0 (r365834)!

@0mp
Copy link

0mp commented Oct 18, 2020

I've submitted a PR on FreeBSD Bugzilla to include this patch in the port: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250432

Thanks again for the patch

@gregschmit gregschmit merged commit 708100e into mat813:master Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants