Created
January 31, 2015 01:20
Compiling Sphinx and reloading Firefox when you save an rst file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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