Template
mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2026-11-23 11:26:50 +00:00
Optimized the runner script.
This commit is contained in:
1 parent
a82d3647da
commit
fd56f5b600
1 file changed
+4
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user