Spaces:
Paused
Paused
Update entrypoint.sh
Browse files148 unmodified lines1491501511521531521531541551561571581561591601614 unmodified lines166167168167169148 unmodified lines fi
# Wait for ANY change — modify, create, delete, move, rename, attrib inotifywait -r -e modify,create,delete,move,attrib \ --exclude '.*(\.mdb|\.log|\.check_for_update_done|/rg|\.cache|\.npm|node_modules)$' \ inotifywait -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 karo NOW=$(date +%s) DIFF=$((NOW - LAST_SYNC))4 unmodified lines else echo "=== [STEP 3] Change detected but debounce active (${DIFF}s < 30s), waiting... ===" fidonedoneentrypoint.sh+6-4