You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Live reload does not trigger automatically unless '--livereload' is explicitly passed #4055
When running mkdocs serve, changes in the documentation files are not automatically reloaded in the browser unless the --livereload flag is explicitly passed.
In previous versions, or as documented, mkdocs serve should enable livereload by default.
Currently, it only works if I run: mkdocs serve --livereload
Without that flag, the local server runs correctly but does not detect or reload changes automatically.
Steps to reproduce:
Run mkdocs serve in a standard MkDocs project.
Modify any .md file in the docs/ folder.
Observe that the browser does not refresh.
Run the same command with: mkdocs serve --livereload
Now live reload works as expected.
Expected behavior:
mkdocs serve should enable live reload by default (without requiring the --livereload argument), or documentation should clarify if this default behavior has changed intentionally.
Impact on tests:
This issue also causes automated tests and CI pipelines that rely on the default livereload behavior to fail or hang, because the reload server is not triggered unless the flag is explicitly provided.
This leads to inconsistent test behavior across environments that expect the default live-reload to be active
Reacted by Nathan Melis, Mike Fiedler, Julien Stébenne, Subnet_Masked, VitorBeamable, Fedor Ihnatkevich, John Hennig, jbecho, Ed Cormany, Marco M. von Hagen and 16 more
After running mkdocs serve, when modifying a Markdown file and saving it, the terminal does not display Detected file changes, and the browser will not refresh automatically.
Reason
Bug in click 8.3.x version causes MkDocs' livereload file monitoring feature to fail.
Activity
soroush-zendedel commentedon Oct 30, 2025
The problem doesn't exist in python3.9
DetachHead commentedon Nov 3, 2025
duplicate of #4032
Make livereload flag visible in CLI for mkdocs serve command
Wcowin commentedon Dec 9, 2025
MkDocs Hot Update Failure Issue
Problem Description
After running
mkdocs serve, when modifying a Markdown file and saving it, the terminal does not displayDetected file changes, and the browser will not refresh automatically.Reason
Bug in click 8.3.x version causes MkDocs' livereload file monitoring feature to fail.
Related Issue: MkDocs use_directory_urls: true bug with click==8.2.2 #4014
Solution
Downgrade click to version 8.2.1:
docs: add --livereload flag
docs: run mkdocs in container image locally (#320)
bluebyt commentedon Jan 12, 2026
I experience the same behavior since Python has been update to 3.14.2-2 on Archlinux.
The previous was working 3.13.11-1 perfectly.
Mythical-Github commentedon Jan 13, 2026
I get this problem on Python 3.12.12 currently
fix: Add flag so docs-serve Makefile target auto reloads (#118)
fix: Add flag so docs-serve Makefile target auto reloads (#118)
fix: mkdocs live reload not working on python 3.10 (#110)
jaywhj commentedon Apr 4, 2026
This bug ([duplicate of this other bug](#4032)) is already fixed in a fork, and the fix is already included in the [latest release](https://github.com/ProperDocs/properdocs/releases) 🙂
Please check it out! It's a complete drop-in replacement, you just
pip install properdocsinstead.refactor: update Dockerfile to use uv for package management, enhance…
johnthagen commentedon May 18, 2026
This issue was fixed in Click 8.4.0
firstvs.lastvs.most explicitpolicy pallets/click#3404