rmosolgo / react-rails-hot-loader

Live-reload React.js components with Ruby on Rails & react-rails
MIT License
88 stars 26 forks source link

Rails 5 Reloader Support #18

Closed rickychilcott closed 4 years ago

rickychilcott commented 7 years ago

I just created a new Rails 5.1.1 project and added the React Rails Hot Loader and the project wouldn't start. Tracked it back to ActionDispatch::Reloader being deprecated in favor of ActiveSupport::Reloader. This patch adds support for either version.

Active Admin ran into the same issue and was discussed here: https://github.com/activeadmin/activeadmin/issues/4438