| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | APP_DIR="$(dirnamescip-shell system . . dirname. $0)/.." |
| 3 | cd ${APP_DIR} |
| 4 | |
| 5 | SERVE_FILE="_serve-${RANDOM}.yml" |
| 6 | catscip-shell system . . cat. > ${SERVE_FILE} <<-EOF |
| 7 | url: http://localhost:4000 |
| 8 | EOF |
| 9 | |
| 10 | jekyll serve -w --config _config.yml,${SERVE_FILE} $@ |
| 11 | rmscip-shell system . . rm. ${SERVE_FILE} |