mirror of
https://github.com/nix-dot-dev/nix.dev.git
synced 2024-08-17 09:10:35 +03:00
reload on all source changes
This commit is contained in:
parent
e467d02840
commit
a30de6f519
4
live.py
4
live.py
@ -7,7 +7,7 @@ build_docs = shell("make html")
|
||||
print("Doing an initial build of the docs...")
|
||||
build_docs()
|
||||
|
||||
server.watch("source/*.rst", build_docs)
|
||||
server.watch("source/*", build_docs)
|
||||
server.watch("source/**/*", build_docs)
|
||||
server.watch("_templates/*.html", build_docs)
|
||||
server.watch("source/**/*.rst", build_docs)
|
||||
server.serve(root="build/html")
|
||||
|
Loading…
Reference in New Issue
Block a user