#!/bin/bash
while true; do
    if ! lsof -i :8080 >/dev/null 2>&1; then
        cd /home/wkmabra/.openclaw/workspace
        python3 -m http.server 8080 --bind 0.0.0.0 &
    fi
    sleep 3
done
