You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running dev (`pnpm dev`) and prod (installed .app) on the same machine caused
`database is locked` errors, MCP port bind failures, and shared state corruption
because both used the same `~/Library/Application Support/com.veszelovszki.cmdr/`.
- Add `resolved_app_data_dir()` helper that appends `-dev` to the data directory in debug builds (→ `com.veszelovszki.cmdr-dev/`). Replace all 6 `app_data_dir()` call sites: indexing, settings, AI, font metrics, known shares.
- Use MCP port 9225 in dev (prod keeps 9224) to prevent port conflicts.
- Update `.mcp.json` and `.claude/settings.json` to match the dev port.
- Logs stay shared intentionally — useful for cross-environment debugging.
0 commit comments