Skip to content
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

Open
lazuardi1981 opened this issue Sep 9, 2020 · 2 comments
Open

livereload script pointed to local IP #120

lazuardi1981 opened this issue Sep 9, 2020 · 2 comments

Comments

@lazuardi1981
Copy link

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.

Screen Shot 2020-09-09 at 12 06 29

is there any countermeasure for this?

@maschinensehen
Copy link

same issue here. any solution?

@kosperera
Copy link

kosperera commented Mar 25, 2023

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 docsify serve . -P 3000.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants