diff --git a/generators/newapp/new.go b/generators/newapp/new.go
index <HASH>..<HASH> 100644
--- a/generators/newapp/new.go
+++ b/generators/newapp/new.go
@@ -19,7 +19,6 @@ import (
 // Run returns a generator to create a new application
 func (a Generator) Run(root string, data makr.Data) error {
 	g := makr.New()
-	defer g.Fmt(a.Root)
 
 	if a.Force {
 		os.RemoveAll(a.Root)
@@ -104,6 +103,13 @@ func (a Generator) Run(root string, data makr.Data) error {
 	}
 	g.Add(makr.NewCommand(a.goGet()))
 
+	g.Add(makr.Func{
+		Runner: func(root string, data makr.Data) error {
+			g.Fmt(root)
+			return nil
+		},
+	})
+
 	if _, err := exec.LookPath("git"); err == nil {
 		g.Add(makr.NewCommand(exec.Command("git", "init")))
 		g.Add(makr.NewCommand(exec.Command("git", "add", ".")))
make sure fmt/imports is run before git init