You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.
Currently Rack embeds the script with a hard 0.0.0.0 IP address, and this doesn't work when testing with mobile devices over my WiFi network (because mobile devices browse to my Mac's network IP, not 0.0.0.0).
Merely specifying an IP in config.rb isn't optimal because my Mac's IP changes depending on whether I'm home or at work.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please consider embedding the LiveReload script the way LiveReload app itself advises:
<script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script>
Currently Rack embeds the script with a hard 0.0.0.0 IP address, and this doesn't work when testing with mobile devices over my WiFi network (because mobile devices browse to my Mac's network IP, not 0.0.0.0).
Merely specifying an IP in config.rb isn't optimal because my Mac's IP changes depending on whether I'm home or at work.
The text was updated successfully, but these errors were encountered: