Skip to content

CSS is not hot reloading with Rails 8.0.1 #84

Open
@bobrocke

Description

@bobrocke

I've installed the gem with:

group :development do
  gem "hotwire-spark"
end

and then bundle, but changes to CSS are not noticed or reloaded. My CSS is in a default path: app/assets/stylesheets/custom.css and the server seems to confirm Spark is working:

Started GET "/hotwire-spark" for 127.0.0.1 at 2025-02-17 07:47:32 -0500
Started GET "/hotwire-spark" [WebSocket] for 127.0.0.1 at 2025-02-17 07:47:32 -0500
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: keep-alive, Upgrade, HTTP_UPGRADE: websocket)
Hotwire::Spark::Channel is transmitting the subscription confirmation
Hotwire::Spark::Channel is streaming from hotwire_spark

Is there something else to configure?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions