autobuild.sh 590 B

12345678
  1. #!/bin/sh
  2. # If you want to run this script inside a vm and save changes outside of it
  3. # You should upgrade watchdog library to the latest in https://github.com/gorakhargosh/watchdog
  4. # and add --debug-force-polling argument to shell-command
  5. # watchmedo shell-command --debug-force-polling --patterns="*.rst" --ignore-pattern='_build/*' --recursive --command='make html; echo "Waiting for more changes..."'
  6. echo "Waiting for you to save the docs..."
  7. watchmedo shell-command --patterns="*.rst" --ignore-pattern='_build/*' --recursive --command='make html; echo "Waiting for more changes..."'