@echo off
REM ===============================================
REM  Under Budgie — local dev server on port 1800
REM  Double-click to start, or run from a terminal.
REM  Ctrl+C in the window to stop.
REM ===============================================
cd /d "%~dp0"
set PORT=1800
echo.
echo  Starting local server at http://localhost:%PORT%/
echo  Press Ctrl+C in this window to stop.
echo.
start "" "http://localhost:%PORT%/index.html"
REM No-cache server (serve.py) so edits always show on reload. Falls back to
REM the stock server if Python/serve.py is unavailable for any reason.
python "%~dp0serve.py" %PORT% || python -m http.server %PORT%
