mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-07 16:17:50 +00:00
Optimized the runner script.
This commit is contained in:
parent
a82d3647da
commit
fd56f5b600
@ -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…
x
Reference in New Issue
Block a user