From 52af74eceb2397774a735ca549215288b1db286f Mon Sep 17 00:00:00 2001 From: alessio Date: Mon, 20 Mar 2017 01:52:29 +0100 Subject: [PATCH] server flag --- realize.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/realize.go b/realize.go index e2ca89c..34ce4f3 100644 --- a/realize.go +++ b/realize.go @@ -147,7 +147,9 @@ func main() { r.Blueprint.Projects = []w.Project{} handle(r.Blueprint.Add(p)) } - handle(r.Server.Start(p)) + if p.Bool("server") { + handle(r.Server.Start(p)) + } handle(r.Blueprint.Run()) handle(r.Record(r)) return nil