Files
paseo/paseo.json
Mohamed Boudra 2025dee9d0 chore(paseo): point worktree app at worktree daemon port directly
The app service was passing the proxy URL (daemon.<branch>.<slug>.localhost:6767)
which routes through the main daemon. Switch to the worktree daemon's own
ephemeral port so the worktree app talks to the worktree daemon without
a main-daemon hop.

Refs #637.
2026-04-30 18:54:25 +07:00

23 lines
605 B
JSON

{
"worktree": {
"setup": [
"npm ci",
"npm run build:daemon",
"cp \"$PASEO_SOURCE_CHECKOUT_PATH/packages/server/.env\" \"$PASEO_WORKTREE_PATH/packages/server/.env\""
]
},
"scripts": {
"daemon": {
"type": "service",
"command": "PASEO_LISTEN=0.0.0.0:$PASEO_PORT ./scripts/dev-daemon.sh"
},
"app": {
"type": "service",
"command": "cd packages/app && BROWSER=none EXPO_PUBLIC_LOCAL_DAEMON=\"localhost:${PASEO_SERVICE_DAEMON_PORT}\" npx expo start --port $PASEO_PORT"
},
"typecheck": {
"command": "npm run typecheck"
}
}
}