diff --git a/packages/server/src/api/controllers/deploy/index.ts b/packages/server/src/api/controllers/deploy/index.ts index 9b80af889c..209aedfb62 100644 --- a/packages/server/src/api/controllers/deploy/index.ts +++ b/packages/server/src/api/controllers/deploy/index.ts @@ -118,6 +118,8 @@ async function deployApp(deployment: any, userId: string) { } replication = new dbCore.Replication(config) const devDb = context.getDevAppDB() + console.log("Compacting development DB") + await devDb.compact() console.log("Replication object created") await replication.replicate(replication.appReplicateOpts()) console.log("replication complete.. replacing app meta doc")