Skip to content

Commit 85c9cb6

Browse files
authored
Fix live reload for make docs-serve (#2889)
<!-- Thanks for opening a pull request! --> <!-- In the case this PR will resolve an issue, please replace ${GITHUB_ISSUE_ID} below with the actual Github issue id. --> <!-- Closes #${GITHUB_ISSUE_ID} --> # Rationale for this change `make docs-serve` use to live reload on change. This PR fixes the underlying issue, thanks to mkdocs/mkdocs#4032 (comment) From the same thread, it looks like the underlying issue the `click>8.2.1` which we're using (#2762). click 8.3.2 should fix the issue, mkdocs/mkdocs#4032 (comment) but it doesnt hurt to always explicitly call `--livereload` ## Are these changes tested? ## Are there any user-facing changes? <!-- In the case of user-facing changes, please add the changelog label. -->
1 parent 4547e91 commit 85c9cb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ docs-install: ## Install docs dependencies (included in default groups)
148148
uv sync $(PYTHON_ARG) --group docs
149149

150150
docs-serve: ## Serve local docs preview (hot reload)
151-
uv run $(PYTHON_ARG) mkdocs serve -f mkdocs/mkdocs.yml
151+
uv run $(PYTHON_ARG) mkdocs serve -f mkdocs/mkdocs.yml --livereload
152152

153153
docs-build: ## Build the static documentation site
154154
uv run $(PYTHON_ARG) mkdocs build -f mkdocs/mkdocs.yml --strict

0 commit comments

Comments
 (0)