mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 17:11:17 +00:00
Rename all references across the codebase: package names, imports, source IDs, directory names, docs, and configs. Co-authored-by: Ona <no-reply@ona.com>
16 lines
488 B
Bash
Executable File
16 lines
488 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
PROXY_PORT=8080
|
|
METRO_PORT=8081
|
|
|
|
# Start a reverse proxy so Metro sees all requests as loopback.
|
|
# This makes debugger endpoints (/debugger-frontend, /json, /open-debugger)
|
|
# accessible through the Tailscale IP.
|
|
PROXY_PORT=$PROXY_PORT METRO_PORT=$METRO_PORT bun run scripts/dev-proxy.ts &
|
|
PROXY_PID=$!
|
|
trap "kill $PROXY_PID 2>/dev/null" EXIT
|
|
|
|
EXPO_PACKAGER_PROXY_URL=http://$(tailscale ip -4):$PROXY_PORT bunx expo start --localhost -p $METRO_PORT
|
|
|