When running `bd list -w` with the daemon active, watchIssues() was called with nil store, causing a panic at store.SearchIssues(). In daemon mode, storage operations are handled via RPC, so the global `store` variable is nil. The watch mode code path didn't account for this and used `store` directly. Fix: Call ensureDirectMode() before watchIssues() to initialize the store. This follows the same pattern used for other commands that need direct store access in daemon mode (e.g., graph, ship). Fixes #1323 Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
47 KiB
47 KiB