badman99dev commited on
Commit
f14eaf6
·
verified ·
1 Parent(s): f33dc25

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +6 -4
entrypoint.sh CHANGED
@@ -149,11 +149,13 @@ while true; do
149
  fi
150
 
151
  # Wait for ANY change — modify, create, delete, move, rename, attrib
152
- inotifywait -r -e modify,create,delete,move,attrib \
153
- --exclude '.*(\.mdb|\.log|\.check_for_update_done|/rg|\.cache|\.npm|node_modules)$' \
 
 
 
154
  -q "$SOURCE"
155
 
156
-
157
  # Debounce: agar last sync 30s pehle hua ho tabhi sync karo
158
  NOW=$(date +%s)
159
  DIFF=$((NOW - LAST_SYNC))
@@ -164,4 +166,4 @@ while true; do
164
  else
165
  echo "=== [STEP 3] Change detected but debounce active (${DIFF}s < 30s), waiting... ==="
166
  fi
167
- done
 
149
  fi
150
 
151
  # Wait for ANY change — modify, create, delete, move, rename, attrib
152
+ inotifywait -r -e modify,create,delete,move,attrib \
153
+ --exclude '.*\.mdb$' \
154
+ --exclude '.*\.log$' \
155
+ --exclude '.*\.check_for_update_done$' \
156
+ --exclude '.*/rg$' \
157
  -q "$SOURCE"
158
 
 
159
  # Debounce: agar last sync 30s pehle hua ho tabhi sync karo
160
  NOW=$(date +%s)
161
  DIFF=$((NOW - LAST_SYNC))
 
166
  else
167
  echo "=== [STEP 3] Change detected but debounce active (${DIFF}s < 30s), waiting... ==="
168
  fi
169
+ done