diff options
| author | Dax Raad <[email protected]> | 2025-11-08 20:37:02 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-11-08 20:37:08 -0500 |
| commit | c9adbc7c212313c2115720ab59e2b94614afb6d2 (patch) | |
| tree | 9e31f41b284670f026aea3acb9ca2fa020f645ac | |
| parent | ba8de38435fa6bfcf788c3665844ec9617cbc42c (diff) | |
| download | opencode-c9adbc7c212313c2115720ab59e2b94614afb6d2.tar.gz opencode-c9adbc7c212313c2115720ab59e2b94614afb6d2.zip | |
tui: add logging when creating project instances to help users debug startup issues
| -rw-r--r-- | packages/opencode/src/project/instance.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/opencode/src/project/instance.ts b/packages/opencode/src/project/instance.ts index 1504162a4..39625e087 100644 --- a/packages/opencode/src/project/instance.ts +++ b/packages/opencode/src/project/instance.ts @@ -16,6 +16,7 @@ export const Instance = { async provide<R>(input: { directory: string; init?: () => Promise<any>; fn: () => R }): Promise<R> { let existing = cache.get(input.directory) if (!existing) { + Log.Default.info("creating instance", { directory: input.directory }) existing = iife(async () => { const project = await Project.fromDirectory(input.directory) const ctx = { |
