Skip to content
Discussion options

You must be logged in to vote

Thanks for reporting. This is behavior of MkDocs. You're providing configuration to stdin (which MkDocs claims to support for serve), and MkDocs tries to reload the file. Here's a reproduction that does not use Docker or Material for MkDocs:

mkdocs new .
cat mkdocs.yml | mkdocs serve -f -

Then make a single change to docs/index.md, and you'll get:

INFO    -  Building documentation...
INFO    -  Cleaning site directory
INFO    -  Documentation built in 0.03 seconds
INFO    -  [14:54:34] Watching paths for changes: 'docs'
INFO    -  [14:54:34] Serving on http://127.0.0.1:8000/
INFO    -  [14:54:40] Detected file changes
INFO    -  Building documentation...
Traceback (most recent call last)…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ToshY
Comment options

Answer selected by ToshY
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