diff --git a/realize/watcher.go b/realize/watcher.go index 50c235b..542f07d 100644 --- a/realize/watcher.go +++ b/realize/watcher.go @@ -212,6 +212,7 @@ func routines(p *Project, channel chan bool, wr *sync.WaitGroup) { wr.Add(1) go p.build() go p.install(channel, wr) + wr.Wait() } else { fmt.Println(Red(err)) }