If you have watchdog installed:
https://pypi.python.org/pypi/watchdog
Jacob Kaplan Moss came up with this very nice one liner to do this.
$ watchmedo shell-command \
              --patterns="*.txt" \
              --ignore-pattern='_build/*' \
              --recursive \
              --command='make html'
                                                        
change to .rst if that is what your Sphinx docs make, etc.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to