From 1208e816066391a573da40843398cde615dbe017 Mon Sep 17 00:00:00 2001 From: Joachim Schwarm Date: Fri, 7 Apr 2017 13:43:17 +0200 Subject: [PATCH] removing the -a if for Start() --- exec.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/exec.go b/exec.go index e79be30..9948e58 100644 --- a/exec.go +++ b/exec.go @@ -94,10 +94,6 @@ func startEx(context *Context, commandstr string, options []map[string]interface isGoFile := strings.HasSuffix(executable, ".go") if isGoFile { cmdstr := "go install" - if context == nil || context.FileEvent == nil { - util.Info(context.Task.Name, "rebuilding with -a to ensure clean build (might take awhile)\n") - cmdstr += " -a" - } _, err = Run(cmdstr, m) if err != nil { return err