diff --git a/apps/desktop/scripts/build.mjs b/apps/desktop/scripts/build.mjs index 70cbdc101..027debdb9 100644 --- a/apps/desktop/scripts/build.mjs +++ b/apps/desktop/scripts/build.mjs @@ -63,7 +63,7 @@ if (args.variant === "mas") { await exec(`yarn run bundle`); } -await exec(`yarn tsc`); +await exec(`yarn run build`); if (args.run) { await exec(`yarn electron-builder --dir --x64`); diff --git a/apps/desktop/scripts/dev.mjs b/apps/desktop/scripts/dev.mjs index 76800d673..b4ba9ee49 100644 --- a/apps/desktop/scripts/dev.mjs +++ b/apps/desktop/scripts/dev.mjs @@ -57,7 +57,7 @@ async function onChange(first) { } await exec(`yarn run bundle`); - execAsync(`yarn`, [`tsc`]); + await exec(`yarn run build`); if (await isBundleSame()) { console.log("Bundle is same. Doing nothing.");