Worktree Ports
- Run
bun dev:info --jsonbefore accessing local apps. Use the returned app URLs; never assume a port. - Start apps through the root
bun dev*scripts so.env.worktree.localand.env.localare loaded before the wrapper runs. - Set the slot environment variable declared in
.worktree-env.jsonin a worktree-local environment file. - Keep app offsets unique and below the configured range stride.
- Declare every variable an app needs under its
exports, includingPORT. - Configure cross-app environment variables with
{apps.<name>.url}templates.
The generic resolver and command wrapper are bundled in scripts/.