Skip to content

Commit bbe4aa3

Browse files
committed
output metafile in dev
1 parent 63307e1 commit bbe4aa3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/cli-v3/src/dev/devSession.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ import { clearTmpDirs, EphemeralDirectory, getTmpDir } from "../utilities/tempDi
2424
import { startDevOutput } from "./devOutput.js";
2525
import { startWorkerRuntime } from "./devSupervisor.js";
2626
import { startMcpServer, stopMcpServer } from "./mcpServer.js";
27-
import { aiHelpLink } from "../utilities/cliOutput.js";
27+
import { writeJSONFile } from "../utilities/fileSystem.js";
28+
import { join } from "node:path";
2829

2930
export type DevSessionOptions = {
3031
name: string | undefined;
@@ -105,6 +106,11 @@ export async function startDevSession({
105106

106107
logger.debug("Created build manifest from bundle", { buildManifest });
107108

109+
await writeJSONFile(
110+
join(workerDir?.path ?? destination.path, "metafile.json"),
111+
bundle.metafile
112+
);
113+
108114
buildManifest = await notifyExtensionOnBuildComplete(buildContext, buildManifest);
109115

110116
try {

0 commit comments

Comments
 (0)