您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516
  1. set -eu
  2. THIS_SCRIPT=$(readlink -m $0)
  3. HERE=$(dirname ${THIS_SCRIPT})
  4. ROOT=$(dirname ${HERE})
  5. while true; do
  6. echo "Watching for changes..."
  7. inotifywait -r ${ROOT}/docs/ -q \
  8. -e modify \
  9. -e close_write \
  10. -e move \
  11. -e delete \
  12. -e create
  13. make docs || :
  14. done