hotwire-livereload icon indicating copy to clipboard operation
hotwire-livereload copied to clipboard

Subscription class not found: "Hotwire::Livereload::ReloadChannel"

Open crobbo opened this issue 1 year ago • 4 comments

I installed the gem in a rails project following the readme instructions and it works great.

However, I'm working on a separate rails project where I do not want to use this gem, therefore I didn't add it to the gemfile or run the install script. Yet I keep getting a warning message in the logs, despite not installing the gem for this project.

Error: Subscription class not found: "Hotwire::Livereload::ReloadChannel"

Is there a way to prevent this appearing in other rails apps which I am also developing locally? Is there some global setting causing this?

crobbo avatar Feb 06 '24 12:02 crobbo

Any update on this? Running into the same issue!

varkum avatar Feb 17 '24 18:02 varkum

Same issue.

svs avatar Mar 24 '24 06:03 svs

Having the same issues as above comments, I've tried disabling hotwire-livereload in the project that was using it but creating new rails apps it gives me the same error when I start the app.

dannyk3941 avatar Apr 20 '24 04:04 dannyk3941

Do you have two different apps running locally at the same time? I tried replicating this by generating two Rails apps and installing Hotwire Livereload only to one of them. And I can't reproduce the issue. Even when using Action Cable reloading messages a broadcasted only to app with Hotwire Livereload.

I will need reproduction steps or demo apps to investigate it further.

kirillplatonov avatar Apr 30 '24 11:04 kirillplatonov