Skip to content

Build your personal knowledge base with Trilium Notes

fix(electron): not starting in dev mode

Elian Doran4e75ba78b48c
diff --git a/bin/copy-dist.ts b/bin/copy-dist.ts
index 093a3a375c..9e272d222a 100644
--- a/bin/copy-dist.ts
+++ b/bin/copy-dist.ts
@@ -29,7 +29,7 @@ const copy = async () => {
fs.copySync(path.join("build", srcFile), destFile, { recursive: true });
}
- const filesToCopy = ["config-sample.ini"];
+ const filesToCopy = ["config-sample.ini", "tsconfig.webpack.json"];
for (const file of filesToCopy) {
log(`Copying ${file}`);
await fs.copy(file, path.join(DEST_DIR, file));