Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
poll vs inotify vs fsevent #340
So, there's an issue with cross-platform development.
Guard is happiest when it has something other than polling, of course, so the naïve Linuxer adds this to his
Then he makes his OS X coworker so sad when that won't install. The OS X
And it sort of works, but then he ends up comitting a diff into
I talked to @injekt, and he said it would be nice if
I kicked around a few dumb ideas, but (thanks to @rf-) I think we've got a
Step 1: Create a generic polling gem that does the job of
BTW my proposed name for this thing is either
We already have that discussion for the Listen gem: https://github.com/guard/listen/issues/search?q=dependencies
In your case the solution would be to required all dependencies without the RUBY_PLATFORM case:
gem 'rb-inotify' gem 'rb-fsevent'
It should work everywhere. (Listen was using this approach first).
Oh man, that's so simple.
I don't think I can climb out of the idiot hole on this one, but for what it's
(And, interestingly, the
Thanks for the solution, though!