Last active
August 21, 2016 18:39
-
-
Save rwilliams/9e1a08d09fde686bb9a510204a0b79a4 to your computer and use it in GitHub Desktop.
Force polling on for the evented file update checker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ActiveSupport | |
class EventedFileUpdateChecker | |
private | |
def boot! | |
Listen.to(*@dtw, force_polling: true,&method(:changed)).start | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment