diff --git a/dev-server.sh b/dev-server.sh new file mode 100755 index 0000000..fe99114 --- /dev/null +++ b/dev-server.sh @@ -0,0 +1,12 @@ +#!/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" diff --git a/plugin/contents/ui/dancer.html b/plugin/contents/ui/dancer.html index 7eb03dd..c521641 100644 --- a/plugin/contents/ui/dancer.html +++ b/plugin/contents/ui/dancer.html @@ -2,6 +2,7 @@ +