From b925b38cbca86f7cb91050eb0bfa4a55b27f4f16 Mon Sep 17 00:00:00 2001
From: Johan de Klerk <jdeklerk00@gmail.com>
Date: Thu, 9 Dec 2021 09:08:32 +0200
Subject: [PATCH] Removed hotswap when deploying to dev

---
 mage_helpers/cdk.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mage_helpers/cdk.go b/mage_helpers/cdk.go
index ca247d6..fa1b5a0 100644
--- a/mage_helpers/cdk.go
+++ b/mage_helpers/cdk.go
@@ -76,9 +76,9 @@ func CDKDeploy(cdkDir string, env string, stack string, exclusively bool, local
 	if local {
 		commandArgs = append(commandArgs, fmt.Sprintf(`--profile=%v`, profile))
 
-		if env == "dev" {
-			commandArgs = append(commandArgs, `--hotswap`) // make it go fast
-		}
+		// if env == "dev" {
+		// 	commandArgs = append(commandArgs, `--hotswap`) // make it go fast
+		// }
 	}
 
 	commandArgs = append(commandArgs,
-- 
GitLab