Spaces:
Paused
Paused
Update entrypoint.sh
Browse files148 unmodified lines1491501511521531541551561571581594 unmodified lines164165166167148 unmodified linesfi# Wait for ANY change — modify, create, delete, move, rename, attribinotifywait -r -e modify,create,delete,move,attrib \--exclude '.*(\.mdb|\.log|\.check_for_update_done|/rg|\.cache|\.npm|node_modules)$' \-q "$SOURCE"# Debounce: agar last sync 30s pehle hua ho tabhi sync karoNOW=$(date +%s)DIFF=$((NOW - LAST_SYNC))4 unmodified lineselseecho "=== [STEP 3] Change detected but debounce active (${DIFF}s < 30s), waiting... ==="fidone148 unmodified lines1491501511521531541551561571581591601614 unmodified lines166167168169148 unmodified linesfi# Wait for ANY change — modify, create, delete, move, rename, attribinotifywait -r -e modify,create,delete,move,attrib \--exclude '.*\.mdb$' \--exclude '.*\.log$' \--exclude '.*\.check_for_update_done$' \--exclude '.*/rg$' \-q "$SOURCE"# Debounce: agar last sync 30s pehle hua ho tabhi sync karoNOW=$(date +%s)DIFF=$((NOW - LAST_SYNC))4 unmodified lineselseecho "=== [STEP 3] Change detected but debounce active (${DIFF}s < 30s), waiting... ==="fidone
entrypoint.sh+6-4