Open
Description
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
is there any countermeasure for this?
Metadata
Metadata
Assignees
Labels
No labels
Activity
maschinensehen commentedon Jul 5, 2021
same issue here. any solution?
kosperera commentedon 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
.donnerluetjen commentedon Jul 9, 2024
Same problem using docsify-cli in a docker container:

This is injected :
<script src="//localhost:35729/livereload.js?snipver=1" async="" defer=""></script></body>
and I get
Is there a workaround or fix available?
sy-records commentedon Jul 9, 2024
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