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) <[email protected]>
This commit is contained in:
1 parent
da233f0a96
commit
e7ac40404f
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user