-
-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
livereload script pointed to local IP #120
Comments
same issue here. any solution? |
I too wonder why the live reload isn't working when using devcontainers. See code @alertbox/devcontainers-try-docsify. It appears to be the live reload works if exposed according to #26 but the container is exposed via |
The livereload should generate links based on how you access it, e.g. for 127.0.0.1 it will generate 127.0.0.1:35729. I would recommend using nginx instead of docsify-cli to start serve |
I am using docsify-cli, and run from docker, and route to the docker server from separate server using reverse proxy.
I found livereload is injected to index as follow.
<script src="//$server_ip$:35729/livereload.js?snipver=1" async="" defer=""></script>
of course it could not be found because$server_ip$ is local IP.
is there any countermeasure for this?
The text was updated successfully, but these errors were encountered: