From 0f9744527f7843d6041c104cd109ad6f31d22e70 Mon Sep 17 00:00:00 2001 From: Yu-Ting Hsiung Date: Wed, 14 Jan 2026 16:36:00 +0800 Subject: [PATCH] build: fix mkdocs dev server hot reload failure issue --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7262a5dd1..09a6118a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -300,7 +300,7 @@ all.sequence = ["format", "lint", "check-commit", "cover"] "doc:build".cmd = "mkdocs build" doc.help = "Live documentation server" -doc.cmd = "mkdocs serve" +doc.cmd = "mkdocs serve --livereload" # mkdocs hot reload failure workaround. Ref: https://github.com/mkdocs/mkdocs/issues/4032#issuecomment-3591002290 ci.help = "Run all tasks in CI" ci.sequence = ["check-commit", { cmd = "pre-commit run --all-files" }, "cover"]