#!/usr/bin/env bash set -euo pipefail PORT=${1:-3000} DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/plugin/contents/ui" && pwd)" echo "==> Serving $DIR on http://localhost:$PORT/dancer.html" echo " Press Ctrl+C to stop." echo "" cd "$DIR" exec python3 -m http.server "$PORT"