Skip to content

Commit e479bfb

Browse files
committed
Update watch command to restart with readme/todo/changes edited
1 parent 3bd7157 commit e479bfb

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:8003/_build/html>'; python -m SimpleHTTPServer 8003

0 commit comments

Comments
 (0)