We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cbbcca commit bbb1ff1Copy full SHA for bbb1ff1
lib/react/rails/railtie.rb
@@ -33,7 +33,7 @@ class Railtie < ::Rails::Railtie
33
end
34
35
# Rails checks these objects for changes:
36
- app.reloaders << ActiveSupport::FileUpdateChecker.new([], reload_paths)
+ app.reloaders << app.config.file_watcher.new([], reload_paths)
37
# Reload renderers in dev when files change
38
config.to_prepare { React::ServerRendering.reset_pool }
39
0 commit comments