Quick-Tip: MkDocs stopped detecting changes - how to fix

Friday, May 15, 2026 at 9:11 AM UTC

I just noticed that MkDocs on my Mac stopped detecting any changes in my files and also did not reload the browser page. Even a manual reload did not present the changes, so the watchdog process did not work properly.

After an hour of debating with different AIs and using different approaches (using Docker) I found the solution. This was by accident when I was setting up a Dockerfile for running MkDocs in an isolated environment since Python is a bitch.

If you just upgraded to the latest Python 3.14.5 (or maybe even early than that), you may also run into this problem. I did the upgrade because I needed to compile a new image for my Home Assistant Voice module locally and that needed the current version of ESPHome - which wanted a current Python environment. During this update obviously another package was updated: "click".

I am absolutely not familiar what this does and how Python works in general, I only know it's very picky and messy if not run in an isolated environment - which by the way did not solve my problem with MkDocs.

If you have trouble like this, downgrade click to an older version:

pip install "click==8.2.1" --force-reinstall

or

pip3 install "click==8.2.1" --force-reinstall

if you installed Python using Homebrew on a Mac like I did.

I hope this saves you some time.






Latest comments to this post

john.smith wrote on 09.10.2026, 10:17

This is a useful diagnosis because the symptom initially looks like a file-watching or Docker mount problem rather than a dependency regression. After downgrading Click, I would also pin the working version in the project’s requirements file or lockfile so that a clean environment does not silently reintroduce the issue. Running pip check and recording the Python, MkDocs and Click versions would make the workaround easier to revisit once the upstream packages change.

 Link to this comment
Christoph Stoettner wrote on 15.05.2026, 17:53

Regarding mkdocs you maybe wanna hava a look at https://github.com/orgs/ProperDocs/discussions/33

Cheers

Stoeps

 Link to this comment

Leave a comment right here

Latest comments

Martyn Foster on The Birds
Roberto Boccadoro on Back to mechanical
Jesper Kiaer on The Birds