Skip to content

A problem about "mkdocs serve --no-livereload" #2571

Answered by oprypin
linxianmiao asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, in the current implementation mkdocs serve will inject this JavaScript no matter what. --no-livereload only makes it so the reload never actually triggers. To get a very similar (still very bad, not suitable for production) server, you can use mkdocs build && cd site && python3 -m http.server

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@linxianmiao
Comment options

@oprypin
Comment options

Answer selected by linxianmiao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants