Skip to content

Commit b15d405

Browse files
authored
messages path (#341)
1 parent 57cb677 commit b15d405

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/cli/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ program
625625
dataDir: string;
626626
teamDir: string;
627627
projectRoot: string;
628+
dbPath?: string;
628629
enableSpawner?: boolean;
629630
onMarkSpawning?: (name: string) => void;
630631
onClearSpawning?: (name: string) => void;
@@ -636,6 +637,8 @@ program
636637
dataDir: paths.dataDir,
637638
teamDir: paths.teamDir,
638639
projectRoot: paths.projectRoot,
640+
// Use the same database as the daemon for message persistence
641+
dbPath: paths.dbPath,
639642
enableSpawner: true,
640643
onMarkSpawning: (name: string) => daemon.markSpawning(name),
641644
onClearSpawning: (name: string) => daemon.clearSpawning(name),

0 commit comments

Comments
 (0)