Skip to content

Instantly share code, notes, and snippets.

@janmisek
Created April 20, 2015 07:52
Show Gist options
  • Save janmisek/7f743a9360c89fbbc10f to your computer and use it in GitHub Desktop.
Save janmisek/7f743a9360c89fbbc10f to your computer and use it in GitHub Desktop.
Watch files and execute command upon change
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