diff options
| author | Jesse Vincent <jesse@primeradiant.com> | 2026-06-09 14:53:48 -0700 |
|---|---|---|
| committer | Drew Ritter <drew@primeradiant.com> | 2026-06-16 10:09:45 -0700 |
| commit | 2b108b7dc2896df01a58384a3ff46e71ba04e9e2 (patch) | |
| tree | 36f7533a1f13ef3eb6952da0acec384da081be01 /tests/opencode | |
| parent | 565845f251495cd041de2dedef37917bb5b6805b (diff) | |
fix(brainstorm-server): ignore macOS resource-fork dotfiles
On macOS (and ExFAT/SMB volumes) the OS writes ._<name>.html sidecar files
holding binary resource-fork metadata. These end with .html, so they passed the
content filter and could be picked as the newest screen — serving binary garbage
to the browser instead of the mockup — or fetched via /files/.
Skip dotfiles (leading '.') at all four sites that list or serve content:
getNewestScreen, the /files/ endpoint, the known-files seed, and the fs.watch
handler. Tests cover serving (/ and /files/) and the watch path (a ._ file must
not trigger a reload).
Refs #950
Diffstat (limited to 'tests/opencode')
0 files changed, 0 insertions, 0 deletions
