Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mkdocs_simple_plugin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ def on_serve(self, server, *, config, builder):
# watch the original docs/ directory
if os.path.exists(self.orig_docs_dir):
server.watch(self.orig_docs_dir)
server.watch(self.config["build_docs_dir"])
# don't watch the build directory
server.unwatch(self.config["build_docs_dir"])

# watch all the doc files
for path in self.paths:
Expand Down