Optimized the runner script.
This commit is contained in:
parent
a82d3647da
commit
fd56f5b600
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,10 @@ help() {
|
|||
|
||||
|
||||
cleanup() {
|
||||
if [[ -d _site || -d .jekyll-cache ]]; then
|
||||
jekyll clean
|
||||
fi
|
||||
|
||||
rm -rf ${WORK_DIR}/${CONTAINER}
|
||||
ps aux | grep fswatch | awk '{print $2}' | xargs kill -9 > /dev/null 2>&1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue