This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

Add per-session ENV var stuff to README

Nathan Herald (Jun 24, 2026, 10:00 AM +0200) 0074a33a 42e3f29b

+13
+13
README.md
··· 198 198 199 199 Run `pty up` in the project directory (or `pty up /path/to/project`) to start all sessions. Run `pty down` to stop them. You can also start specific sessions: `pty up dev serve`. 200 200 201 + Sessions can also declare per-session environment variables: 202 + 203 + ```toml 204 + [sessions.api] 205 + command = "bin/api" 206 + 207 + [sessions.api.env] 208 + PORT = "8080" 209 + LOG_LEVEL = "debug" 210 + ``` 211 + 212 + The values are exported into the session's shell before the command runs (the supervisor wraps every session command in `/bin/sh -c`). They take effect on the next `pty up` after the session has stopped — restarting a still-running session via `pty restart` reuses the existing spawn args, so `pty kill <name>` followed by `pty up` is the way to pick up a changed env block on an already-running session. 213 + 201 214 ### Supervisor 202 215 203 216 The supervisor keeps sessions alive by watching for the `strategy` tag: