Skip to content

Commit a9a40b5

Browse files
authored
Fix dev indexing (#2094)
* save build manifest for dev runs again * add changeset
1 parent 0f928e2 commit a9a40b5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/big-carrots-fail.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"trigger.dev": patch
3+
---
4+
5+
Fix dev runs

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ export class BackgroundWorker {
4747
throw new Error("Worker already initialized");
4848
}
4949

50+
// Write the build manifest to this.build.outputPath/build.json
51+
await writeJSONFile(this.buildManifestPath, this.build, true);
52+
5053
logger.debug("indexing worker manifest", { build: this.build, params: this.params });
5154

5255
this.manifest = await indexWorkerManifest({

0 commit comments

Comments
 (0)