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
Support darwin20 / macOS Big Sur #478
Comments
This has been merged into master, can you please test it? |
@ioquatix Looks good to me. Thanks. |
This was referenced Jan 6, 2021
kgilje
added a commit
to kgilje/metridoc-rails
that referenced
this issue
Jul 9, 2022
rails/spring#636 Fixed in release 3.3.0: guard/listen#478
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Listen doesn't identify macOS 10.16/11.0 as compatible with the Darwin-adapter because of version number change, and falls back to polling.
The Darwin-adapter checks target_os for version compatibility by looking for versions starting with "1", capturing [10,19].
macOS Big Sur has a target_os of "darwin20", failing to be captured by the regex and causing listen to fall back to polling.
Could be fixed by changing the regex, assuming there are no other reasons adapter should break on Big Sur.
Notes:
This issue naturally causes high CPU-usage on Rails for developers upgrading to macOS Big Sur, when application is not properly configured to use Polling.
It seems to be working as expected with the above change, but I haven't tested it extensively.
The text was updated successfully, but these errors were encountered: