From cea66e503fe1e34732998ed8d3bf93e5ebd466b7 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 20 Jun 2018 13:57:42 -0700 Subject: [PATCH] [Linux] Increase git-sync synchronization interval --- dotfiles/lib/bin/git_sync_directory.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/lib/bin/git_sync_directory.sh b/dotfiles/lib/bin/git_sync_directory.sh index 088a8a3d..9175747f 100755 --- a/dotfiles/lib/bin/git_sync_directory.sh +++ b/dotfiles/lib/bin/git_sync_directory.sh @@ -5,7 +5,7 @@ cd "$1" counter=0 while true; do - changedFile=$(inotifywait ./ -r -e modify,move,create,delete --format "%w%f" --exclude '\.git' -t 20 2>/dev/null) + changedFile=$(inotifywait ./ -r -e modify,move,create,delete --format "%w%f" --exclude '\.git' -t 60 2>/dev/null) if [ -z "$changedFile" ] then counter=$((counter+1))