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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix folders update watcher with no folders to watch #36163

Merged

Conversation

spuyet
Copy link
Contributor

@spuyet spuyet commented May 2, 2019

Summary

This pull request fixes the ActiveSupport::EventedFileUpdateChecker behavior trying to use the Listen constant even when the gem is not loaded because there is no directory to watch. I've described the issue here.

I've also prefixed the call to Listen with the scope resolution operator as this is a top level constant and it's not defined in ActiveSupport::EventedFileUpdateChecker.

Let me know if you need more informations 馃槃

@spuyet
Copy link
Contributor Author

spuyet commented Jun 18, 2019

@rafaelfranca @jhawthorn Can you have a second look to this PR ?

@spuyet
Copy link
Contributor Author

spuyet commented Aug 10, 2019

@rafaelfranca ready for a new review 馃槃

@kaspth kaspth merged commit 179a5b8 into rails:master Sep 9, 2019
@kaspth
Copy link
Contributor

kaspth commented Sep 9, 2019

Great job, @spuyet 鉂わ笍馃挭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants