Files
tbd/script/ui-watch
ajet a46428a757
CI / Test + coverage (push) Successful in 1m15s
add ui
2026-09-19 06:49:28 -09:00

9 lines
320 B
Bash
Executable File

#!/usr/bin/env bash
# Rebuild the UI on every change (hot reload, also serves the shadow-cljs dashboard on :9630).
# The output lands in resources/public/js, so run script/server alongside and refresh the page.
set -euo pipefail
cd "$(dirname "$0")/../ui"
[[ -d node_modules ]] || npm ci
exec npx shadow-cljs watch app