Personal homepage and static website generator for noah.is https://noah.is/
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314
  1. #!/bin/bash
  2. function die() {
  3. echo >&2 $1
  4. exit 1
  5. }
  6. # Before we crash and burn, make sure necessary programs are installed!
  7. command -v inotifywait || die "I need the inotifywait command (apt install inotify-tools)"
  8. make
  9. while inotifywait -r -e modify,move,create,delete static templates; do
  10. make
  11. done