Separate configuration option for WebSocket address in livereload module #1776
Unanswered
wout
asked this question in
Feature requests & Ideas
Replies: 1 comment 2 replies
-
Would it make sense to just add |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It happens regularly that I have to monkey patch the
Lucky::LiveReloadTag
module to use another WebSocket address.One scenario is with Ngrok, for example, which means using a Ngrok tunnel and
wss
. Another scenario is using docker, where theserver.host
option should be set to"0.0.0.0"
, but the WebSocket should still be using"127.0.0.1"
.I'm not sure what's the best way to approach this. Probably with a fallback, if the live reload address is not configured?
Beta Was this translation helpful? Give feedback.
All reactions