From e7ac40404fe794716e66ada80aae5c130b854757 Mon Sep 17 00:00:00 2001 From: Theo Browne Date: Sun, 26 Jul 2026 01:02:31 -0700 Subject: [PATCH] Match the base branch's bun run docs, correct the state-dir rule Rebasing onto the updated #4556 turned up two doc drifts: the base moved the script list from `vp run` to `bun run`, and the state-directory paragraph still described the fixed `userdata` preference that the mtime tiebreak replaced. Co-Authored-By: Claude Opus 5 (1M context) --- docs/reference/scripts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/scripts.md b/docs/reference/scripts.md index 2278344921..a859d775da 100644 --- a/docs/reference/scripts.md +++ b/docs/reference/scripts.md @@ -51,7 +51,7 @@ An isolated dev database starts empty. `bun run dev:seed` copies projection data `dev:seed` refuses to run while a server is using the target directory: it replaces the projections and event log that server is holding open, and it has no way to tell the running process its read model was swapped underneath it. Stop the server, seed, then start it again. -Both source and target follow whichever state directory actually holds a database — `userdata` when present, otherwise `dev` — so a main-checkout `bun run dev`, whose state lives in `~/.t3/dev`, is seedable without naming the directory. +Both source and target follow whichever state directory actually holds a database, so a main-checkout `bun run dev` — whose state lives in `~/.t3/dev` — is seedable without naming the directory. When a base directory holds both, the more recently written one wins, since that is the database the last server to run had open. The resolved path is printed in the summary. ## Running multiple dev instances