kirillplatonov / hotwire-livereload

Live reload gem for Hotwire Rails apps.
MIT License
483 stars 28 forks source link

Is turbo-rails also a dependency to hotwire-livereload? Dealing with app updated to Rails 7. #41

Closed ChidoYo closed 1 year ago

ChidoYo commented 1 year ago

I just installed this on an rails app that I just updated from rails 5 to rails 7.0.2. I installed hotwire-livereload to my app following your steps. When I tried to make a small update to an html.erb file I got the error: Uncaught ReferenceError: Turbo is not defined Does this mean I have to install turbo rails as well?

kirillplatonov commented 1 year ago

This gem is designed for apps that are using Hotwire Turbo. You'll either need turbo-rails gem or @hotwired/turbo via npm installed and configured in your app.