run_dev.sh 216 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
#!/bin/bash

function cleanup_func {
    sleep 0.5
    echo cleanup
}

trap "exit \$exit_code" INT TERM
trap "exit_code=\$?; cleanup_func; kill 0" EXIT

11
npm run build-css
12 13
npm run watch-css &
bundle exec jekyll serve