Skip to content

Instantly share code, notes, and snippets.

@dhbradshaw
Created January 31, 2015 01:20
Compiling Sphinx and reloading Firefox when you save an rst file
#pip install watchdog
#sudo apt-get install xvkbd
#!/bin/bash
watchmedo shell-command \
--patterns="*.rst" \
--ignore-pattern='_build/*' \
--recursive \
--command='make html && xvkbd -window Firefox -text "\Cr"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment