Description
On macOS, opening a project from an external volume can hang for several seconds on the first request after a cold opencode serve start.
This shows up most clearly on /Volumes/* paths where two slow operations land in the request path:
git rev-list --max-parents=0 HEAD
FileWatcher.init() waiting on parcel-watcher subscribe
OpenCode version
1.14.17
Steps to reproduce
- Start
opencode serve on macOS.
- Open a git project from
/Volumes/....
- Hit
GET /project/current?directory=<external-project> after a cold restart.
- Observe multi-second delay before the response returns.
Operating System
macOS 26.4.1
Terminal
Ghostty
Description
On macOS, opening a project from an external volume can hang for several seconds on the first request after a cold
opencode servestart.This shows up most clearly on
/Volumes/*paths where two slow operations land in the request path:git rev-list --max-parents=0 HEADFileWatcher.init()waiting onparcel-watcher subscribeOpenCode version
1.14.17
Steps to reproduce
opencode serveon macOS./Volumes/....GET /project/current?directory=<external-project>after a cold restart.Operating System
macOS 26.4.1
Terminal
Ghostty