-
Notifications
You must be signed in to change notification settings - Fork 37
no fsevents fired (OSX bug)
Cezary Baginski edited this page Apr 6, 2015
·
1 revision
(Disclaimer: written by someone who doesn't even use OSX)
Symptom: you watch some directories ... and you get no events.
Cause: OSX bug that know one really knows much about
How to reproduce: no one knows
How to fix: rename the folder to a different case (I don't know if upper case or lower case) and then back.
The problem: "if realpath() and FSCopyAliasInfo() return different case for a path, then fsevents are not fired."
I don't have OSX, but users who do will likely appreciate if some cool hacker would:
- create a binary/ext gem that detects the issue (the "compile-it-yourself" tool is here: https://github.com/andreyvit/find-fsevents-bugs)
- possibly include a "fix" option that automatically renames the folder and back
- show a message asking the user to restart the computer (to free the file/dir handles) and it should work
- possibly get it merged into this project or Listen (open an issue or PR)
- LiveReload where the issue is sumarized (contains other links): http://feedback.livereload.com/knowledgebase/articles/86239
- "everything about this" discussion: https://github.com/thibaudgg/rb-fsevent/issues/10