From 9ae926ea037bf4cc3a99c02297bfe65fdfbac200 Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Sun, 7 Jun 2015 12:35:17 -0700 Subject: [PATCH] add make watch target --- Makefile | 3 +++ lucifer/main.go | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 14a2eaa..acf7de1 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,5 @@ install: go install ./... + +watch: + justrun -c 'make install' 'lucifer/*' diff --git a/lucifer/main.go b/lucifer/main.go index 6e2be6f..46b5cf2 100644 --- a/lucifer/main.go +++ b/lucifer/main.go @@ -140,7 +140,6 @@ func doInvalidate(flags *flag.FlagSet, sync bool, verbose bool) { handleError(err, verbose) } fmt.Println(body) - fmt.Println(sync) } func doRun(flags *flag.FlagSet, bail bool, verbose bool) {