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

live reload issues #1

Closed
joewashear007 opened this issue Dec 1, 2018 · 0 comments
Closed

live reload issues #1

joewashear007 opened this issue Dec 1, 2018 · 0 comments

Comments

@joewashear007
Copy link

Just a quick note, thank for the container. I am using it to host a static site for myself.

I was running into issues with the live reload feature. My site was behind a proxy and the live reload js file couldn't be reached. This caused the site load, but hang while the request failed for to the livereload.js, which was horrible.

I recommend turning it off or making a config option to do so, I did the following

start_mkdocs () {
    cd /workdir/mkdocs
    echo "Starting MKDocs"
    mkdocs serve -a $(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1):8000 --no-livereload
}

Thanks

@pozgo pozgo closed this as completed in #2 Dec 2, 2018
pozgo pushed a commit that referenced this issue Feb 16, 2019
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

1 participant