[docs] ArtBoard: Record the art pipeline, its review, and the board replacing the 127.0.0.1 page
This commit is contained in:
@@ -55,3 +55,18 @@ fresh. This is CLAUDE.md §5.4 again, caused by the build tool and not the servi
|
||||
**How to apply it.** Any file the app bundles from outside its package goes into
|
||||
`globalDependencies` or the task's `inputs`, in the same commit as the import. To
|
||||
check, change the file, run the build, and look for `cache miss`.
|
||||
|
||||
## A preview on a busy port shows someone else's app
|
||||
|
||||
**What happened.** The art board's local preview was given port 5180. Ludus's dev
|
||||
server already listened on `localhost:5180`, so the preview pane opened **Ludus**,
|
||||
whose page text appeared under the board's tab. Port 5191 was busy too. The board
|
||||
rendered only on 5237, after `netstat` confirmed the port was free.
|
||||
|
||||
**Why it bit.** A server that fails to bind, or binds 127.0.0.1 while another app holds
|
||||
`localhost`, does not always stop loudly, and the browser simply shows whatever is
|
||||
listening. This machine runs many projects.
|
||||
|
||||
**How to apply it.** Before starting a preview, check that the port is free
|
||||
(`netstat -ano | grep :<port>`). After it starts, check the page title before you trust
|
||||
anything the page says.
|
||||
|
||||
Reference in New Issue
Block a user