# Add dev runner for deterministic multi-instance port offsets · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/15380f2b5f99065efb0100cc47ad96255594ae4e)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 15380f2b5f99065efb0100cc47ad96255594ae4e

Requested commit: 15380f2b5f99065efb0100cc47ad96255594ae4e

Commit: 15380f2b5f99065efb0100cc47ad96255594ae4e

Tree: 8da3f6754a591ee9ab60d7640ad475dce75548cb

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Add dev runner for deterministic multi-instance port offsets

- Route `dev*` scripts through `scripts/dev-runner.mjs` to compute shared server/web port offsets
- Support `T3CODE_DEV_INSTANCE` (hashed or numeric) and explicit `T3CODE_PORT_OFFSET`
- Document multi-instance usage and allow server `VITE_DEV_SERVER_URL` override

```

## Parents

- [48b1f7c38862e3672cf5b8ec9ca6edbc6f48e5ef](https://git.cafe/pingdotgg/t3code/commit/48b1f7c38862e3672cf5b8ec9ca6edbc6f48e5ef?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/15380f2b5f99065efb0100cc47ad96255594ae4e?format=markdown)
