aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1490609..f8eeb77 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ install:
@cabal2nix --shell . > ad-listener.nix
watch:
- @make install && nix-shell ad-listener.nix --run "nodemon -e hs,conf --exec 'clear && make build-and-launch'"
+ @make install && nix-shell ad-listener.nix --run "nodemon --watch src --delay 0.2 -e hs,conf --exec 'clear && make build-and-launch'"
build-and-launch:
@(pkill ad-listener || true) && (cabal run || true)