Skip to content

Commit c3065ab

Browse files
bearomorphismLee-W
authored andcommitted
build: fix mkdocs dev server hot reload failure issue
1 parent 52d84c1 commit c3065ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ all.sequence = ["format", "lint", "check-commit", "cover"]
300300
"doc:build".cmd = "mkdocs build"
301301

302302
doc.help = "Live documentation server"
303-
doc.cmd = "mkdocs serve"
303+
doc.cmd = "mkdocs serve --livereload" # mkdocs hot reload failure workaround. Ref: https://github.com/mkdocs/mkdocs/issues/4032#issuecomment-3591002290
304304

305305
ci.help = "Run all tasks in CI"
306306
ci.sequence = ["check-commit", { cmd = "pre-commit run --all-files" }, "cover"]

0 commit comments

Comments
 (0)