Fix the exclusion regex rule of swatch (#112)

This commit is contained in:
Cotes Chung 2020-08-29 23:04:27 +08:00
parent cb461df071
commit e96f9051c0

View file

@ -86,7 +86,7 @@ main() {
bash _scripts/sh/dump_lastmod.sh bash _scripts/sh/dump_lastmod.sh
if [[ $realtime = true ]]; then if [[ $realtime = true ]]; then
fswatch -0 -e "\\$CONTAINER" -e "\.git" "$WORK_DIR" | xargs -0 -I {} bash "./${SYNC_TOOL}" {} "$WORK_DIR" . & fswatch -0 -e "/\..*" "$WORK_DIR" | xargs -0 -I {} bash "./${SYNC_TOOL}" {} "$WORK_DIR" . &
fi fi
echo "\$ $cmd" echo "\$ $cmd"