Jacob Schmidt a8415eb1fd Add phone addon and wire UI events
- Introduce client phone addon, UI, and XEH handlers
- Route actor phone interaction to the new phone UI
- Add initial phone state, event handling, and persistence
2026-04-06 19:07:18 -05:00

22 lines
464 B
Bash

#!/bin/bash
set -e
echo "Building JS and CSS bundles..."
node tools/concat-all.js
echo "Starting local server..."
python3 -m http.server &
SERVER_PID=$!
sleep 1
# Try to open the browser automatically (Linux: xdg-open, macOS: open)
if command -v xdg-open > /dev/null; then
xdg-open http://localhost:8000
elif command -v open > /dev/null; then
open http://localhost:8000
else
echo "Please open http://localhost:8000 in your browser."
fi
wait $SERVER_PID