Skip to content

Commit

Permalink
Fix manifest not being copied to dist when running dev server
Browse files Browse the repository at this point in the history
  • Loading branch information
Exidex committed Jan 29, 2024
1 parent e12a1f6 commit 05e1996
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dev.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { parseManifest, readManifest, rollupInputOptions, rollupOutputOptions } from "./config";
import { parseManifest, readManifest, rollupInputOptions, rollupOutputOptions, writeDistManifest } from "./config";
import { RollupError, watch } from "rollup";
import chalk from "chalk";
import { sessionBus } from "dbus-ts";
Expand Down Expand Up @@ -53,6 +53,8 @@ export async function dev() {
const manifestText = readManifest();
parseManifest(manifestText); // TODO properly handle errors here

writeDistManifest(manifestText)

await event.result.close()

try {
Expand Down

0 comments on commit 05e1996

Please sign in to comment.