diff --git a/cmd/cli/start/air_template.go b/cmd/cli/start/air_template.go index 7fe7d38..247f0ea 100644 --- a/cmd/cli/start/air_template.go +++ b/cmd/cli/start/air_template.go @@ -6,7 +6,7 @@ func defaultAirConfig(appName string) string { template := ` [build] bin = "./bin/%s" - cmd = "go build -o ./bin/%s ." + cmd = "go build -gcflags=all="-N -l" -o ./bin/%s ." exclude_dir = ["bin", "tests", "templates", "scripts", "db/migrations", "pkg/schemas"] kill_delay = 500 send_interrupt = true