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

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +3 -5
entrypoint.sh CHANGED
@@ -149,13 +149,11 @@ 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$' \
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))
 
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))