From 2e3529cfdb3d62a03c5b49aef772b3979b7d3d8a Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Sun, 23 Aug 2020 13:38:45 -0400 Subject: [PATCH] Add watch target in Makefile --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index abe6383..73adf6f 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,12 @@ test: --flag yesod-auth-oauth2:example \ --fast --pedantic --test +.PHONY: watch +watch: + stack build \ + --flag yesod-auth-oauth2:example \ + --fast --pedantic --test --file-watch + .PHONY: lint lint: