Created
April 20, 2015 07:52
-
-
Save janmisek/7f743a9360c89fbbc10f to your computer and use it in GitHub Desktop.
Watch files and execute command upon change
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 | |
watchmedo shell-command \ | |
--patterns="*.rst" \ | |
--ignore-pattern='_build/*' \ | |
--recursive \ | |
--command='make html' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment