#!/bin/sh # Based on http://jacobian.org/writing/auto-building-sphinx/ set -x watchmedo shell-command \ --patterns='*.rst;*.py' \ --ignore-pattern='docs/build/*;*flymake*' \ --recursive \ --command='python setup.py build_sphinx'