summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--dev-requirements.txt1
-rw-r--r--tasks.py6
2 files changed, 5 insertions, 2 deletions
diff --git a/dev-requirements.txt b/dev-requirements.txt
index 26d0efa4..b409ce7a 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -16,6 +16,7 @@ coverage>=6.2,<7
# Documentation tools
alabaster==0.7.13
releases>=2.1
+watchdog<2
# Debuggery
icecream>=2.1
# Self (sans GSS which is a pain to bother with most of the time)
diff --git a/tasks.py b/tasks.py
index c14abacb..1f5e999c 100644
--- a/tasks.py
+++ b/tasks.py
@@ -4,7 +4,7 @@ from shutil import rmtree, copytree
from invoke import Collection, task
from invocations.checks import blacken
-from invocations.docs import docs, www, sites
+from invocations.docs import docs, www, sites, watch_docs
from invocations.packaging.release import ns as release_coll, publish
from invocations.testing import count_errors
@@ -137,6 +137,7 @@ ns = Collection(
release_coll,
docs,
www,
+ watch_docs,
sites,
count_errors,
blacken,
@@ -152,6 +153,7 @@ ns.configure(
"changelog_file": join(
www.configuration()["sphinx"]["source"], "changelog.rst"
),
- }
+ },
+ "docs": {"browse": "remote"},
}
)