Repository navigation
Commit c57b612
fix(docs): correct os dev default port from 3002 to 3000 (#234)
`reference/cli.mdx:70` claimed `os dev` defaults to port 3002. PR #143
measured the real behavior (against @objectstack/cli 17.1.0) and landed
it in quickstart.mdx: os dev asks for 3000, the same port os start uses,
and binds the next free port on collision. Re-verified here against
17.2.0's shipped source (packages/cli/src/commands/dev.ts,
`requestedPort = port ?? '3000'`) — the default and the collision/rebind
behavior are unchanged.
Corrects line 70's comment and adds a short note under the block
carrying the collision behavior, since that is the part that surprises
a reader running `os dev` alongside `os start`. Also updates the -p
example on line 71 from 4002 to 4000, since 4002 read as "3002 plus a
bit."
Fixes #229
Co-authored-by: Claude <noreply@anthropic.com>1 parent 13e1ead commit c57b612
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
| |||
0 commit comments