Skip to content

Commit

Permalink
Update watch command to restart with readme/todo/changes edited
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed May 25, 2016
1 parent 3bd7157 commit e479bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ checkbuild:
$(SPHINXBUILD) -n -q ./ $(BUILDDIR)

watch:
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
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

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

0 comments on commit e479bfb

Please sign in to comment.