aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d47552e..339ea3e 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,10 @@ watch: build
@nodemon --watch src --delay 0.2 -e hs,conf --exec 'clear && make build-and-launch'
build-and-launch:
- @(pkill ad-listener || true) && (stack build && stack exec ad-listener || true)
+ @(pkill ad-listener || true) && (stack build && make run || true)
+
+run:
+ @stack exec ad-listener
build:
@stack build