Fix the exclusion regex rule of swatch (#112)

This commit is contained in:
Cotes Chung committed 2020-08-30 01:20:55 +08:00
1 parent cb461df071
commit e96f9051c0
1 file changed
+1 -1
+1 -1
View File
@@ -86,7 +86,7 @@ main() {
bash _scripts/sh/dump_lastmod.sh
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
echo "\$ $cmd"