Skip to content

Commit 1c1677b

Browse files
committed
watch command rebuilds for README.rst/conf.py/TODO/CHANGES
1 parent f21fc98 commit 1c1677b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ checkbuild:
157157
$(SPHINXBUILD) -n -q ./ $(BUILDDIR)
158158

159159
watch:
160-
if command -v entr > /dev/null; then find . -type f -not -path '*/\.*' | grep -i '.*[.]rst' | entr -c make html; else make html; echo "\nInstall entr(1) to automatically run tests on file change.\n See http://entrproject.org/"; fi
160+
if command -v entr > /dev/null; then find .. -type f -not -path '*/\.*' | grep -i '.*[.]rst\|CHANGES\|TODO\|conf.py' | entr -c make html; else make html; echo "\nInstall entr(1) to automatically run tests on file change.\n See http://entrproject.org/"; fi
161161

162162
serve:
163163
echo 'docs built to <http://0.0.0.0:8023/_build/html>'; python -m SimpleHTTPServer 8023

0 commit comments

Comments
 (0)