Skip to content

Not seeing code changes after reload.  #63

@mirandashort

Description

@mirandashort

I'm not sure if this is related to #49

Upon refreshing my page, I see this (is this expected?):

Finished "/cable" [WebSocket] for ::1 at 2024-09-30 14:07:04 -0400
Turbo::StreamsChannel stopped streaming from hotwire-livereload
Started GET "/cable" for ::1 at 2024-09-30 14:07:04 -0400
Started GET "/cable" [WebSocket] for ::1 at 2024-09-30 14:07:04 -0400
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)

Currently running:

    rails (7.1.4)
      actioncable (= 7.1.4)
      actionmailbox (= 7.1.4)
      actionmailer (= 7.1.4)
      actionpack (= 7.1.4)
      actiontext (= 7.1.4)
      actionview (= 7.1.4)
      activejob (= 7.1.4)
      activemodel (= 7.1.4)
      activerecord (= 7.1.4)
      activestorage (= 7.1.4)
      activesupport (= 7.1.4)
      bundler (>= 1.15.0)
      railties (= 7.1.4)

    hotwire-livereload (1.4.1)
      actioncable (>= 6.0.0)
      listen (>= 3.0.0)
      railties (>= 6.0.0)

I have followed the installation guides and do have the following set in development.rb

config.hotwire_livereload.reload_method = :turbo_stream

My file is under /app/javascript so my understanding is I should be seeing my code changes by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions