Skip to content

daemon: run from an empty folder of our own, not the home folder - #189

Merged
its-janghoon merged 1 commit into
developfrom
fix/daemon-empty-cwd
Oct 28, 2026
Merged

its-janghoon merged 1 commit into
developfrom
fix/daemon-empty-cwd

Conversation

@its-janghoon

Copy link
Copy Markdown
Member

A request without a directory falls back to the daemon's cwd. With the cwd at ~, Redrob Desktop starting the daemon made rg index and watch the whole home folder, and macOS asked for Desktop, Documents, Downloads and other protected folders at app start. The registered daemon now chdirs to /daemon.

Typecheck (packages/redrob, tsgo) passed locally.

A request without a directory falls back to the daemon's cwd. With the cwd at
~, the first such request (Redrob Desktop starts the daemon) indexed and
watched the whole home folder with rg, and macOS asked for Desktop,
Documents, Downloads and every other protected folder at app start.
The registered daemon now chdirs to <data>/daemon instead.
@its-janghoon
its-janghoon merged commit 30bcece into develop Oct 28, 2026
12 checks passed
@its-janghoon
its-janghoon deleted the fix/daemon-empty-cwd branch October 28, 2026 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant