Bob Rockefeller
Bob Rockefeller

Reputation: 4616

Why is ruby on rails 8.0.1 not hot reloading css?

It's not.

My CSS is loaded with: <%= stylesheet_link_tag :app, "data-turbo-track": "reload" %>.

My CSS is in app/assets/stylesheets/.

I start the local server with rails server.

The server shows:

Hotwire::Spark::Channel is transmitting the subscription confirmation
Hotwire::Spark::Channel is streaming from hotwire_spark

But saving changes to a CSS file does not reload the CSS. A manual reload shows the changes.

What might I have configured wrong?

Upvotes: 0

Views: 109

Answers (0)

Related Questions