diff options
| author | Adam Malczewski <[email protected]> | 2026-06-27 15:07:39 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-27 15:07:39 +0900 |
| commit | ea141f87c50ddc087e613070cd9e093fa79c5be6 (patch) | |
| tree | 0f157e1d342b6a1305109ff90857542cb8903c75 | |
| parent | ad9d135e583c99a0d93327115defa43187cde1c3 (diff) | |
| download | dispatch-ea141f87c50ddc087e613070cd9e093fa79c5be6.tar.gz dispatch-ea141f87c50ddc087e613070cd9e093fa79c5be6.zip | |
fix(bin): rename dispatch-web → frontend in up/build scripts
| -rwxr-xr-x | bin/build | 2 | ||||
| -rwxr-xr-x | bin/up | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -17,7 +17,7 @@ set -euo pipefail HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" ROOT="$(cd "$HERE/.." && pwd)" BACKEND="$ROOT" -FRONTEND="$(cd "$ROOT/.." && pwd)/dispatch-web" +FRONTEND="$(cd "$ROOT/.." && pwd)/frontend" BUILD_FRONTEND=1 if [[ "${1:-}" == "--no-frontend" ]]; then @@ -3,19 +3,19 @@ # Ctrl-C stops BOTH cleanly (including the backend's spawned observability collector). # # backend (this repo) bun --watch → HTTP :24203 + surface WS :24205 (FULL restart on change) -# frontend (../dispatch-web) vite → http://localhost:24204 (HMR, in-place) +# frontend (../frontend) vite → http://localhost:24204 (HMR, in-place) # -# Assumes dispatch-web is a sibling of this repo. Run: bin/up (or: bun run dev:all) +# Assumes frontend is a sibling of this repo. Run: bin/up (or: bun run dev:all) set -uo pipefail HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # .../arch-rewrite/bin BACKEND="$(cd "$HERE/.." && pwd)" # backend repo root -FRONTEND="$(cd "$HERE/../.." && pwd)/dispatch-web" # sibling repo +FRONTEND="$(cd "$HERE/../.." && pwd)/frontend" # sibling repo if [ ! -d "$FRONTEND" ]; then echo "up: frontend repo not found at $FRONTEND" >&2 - echo "up: check out 'dispatch-web' beside this repo and retry." >&2 + echo "up: check out 'frontend' beside this repo and retry." >&2 exit 1 fi |
