aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoris2019-09-05 20:46:36 +0200
committerJoris2019-09-05 20:46:36 +0200
commit317e7b1e7319182e5caa5169119aea9fc8d660b6 (patch)
treedc9f9c458c42d1e2c60a12ff55267e042c88f6ba /Makefile
parent223ae6aa0b14c071d5719ada0cc6b43e9199a81b (diff)
downloadad-listener-317e7b1e7319182e5caa5169119aea9fc8d660b6.tar.gz
ad-listener-317e7b1e7319182e5caa5169119aea9fc8d660b6.tar.bz2
ad-listener-317e7b1e7319182e5caa5169119aea9fc8d660b6.zip
Enable the listener only during some hours
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 039a460..d47552e 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ 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 exec ad-listener || true)
+ @(pkill ad-listener || true) && (stack build && stack exec ad-listener || true)
build:
@stack build