Skip to content

Conversation

@bep
Copy link
Member

@bep bep commented Jan 21, 2025

Note that this PR doesn't fully fix the issue, as in

  • LiveReload.connector.disconnect() on pagehide fixes the problem.
  • But I have not found a way to "restart" the websocket connection, which means that the LiveReload stops working.
  • Note that if you make any changes to the JS, run go generate ./livereload/gen.

Fixes #13287

@github-actions
Copy link

This PR has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
Please check https://github.com/gohugoio/hugo/blob/master/CONTRIBUTING.md#code-contribution and verify that this code contribution fits with the description. If yes, tell us in a comment.
This PR will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

@github-actions github-actions bot added the Stale label Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Live reload inhibits bfcache behavior

1 participant