aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoris2017-02-23 10:21:12 +0100
committerJoris2017-02-23 10:21:12 +0100
commit0079d42ef128a1d91daa4f483f2b65e3e9b6bfdc (patch)
tree74fc9840598a6931e5deb8a145054e0f00fe8988 /Makefile
parent8e396abf9f55141f3b6ebab4577edefcbc010c10 (diff)
downloadcooking-0079d42ef128a1d91daa4f483f2b65e3e9b6bfdc.tar.gz
cooking-0079d42ef128a1d91daa4f483f2b65e3e9b6bfdc.tar.bz2
cooking-0079d42ef128a1d91daa4f483f2b65e3e9b6bfdc.zip
Add shortbread recipe
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cbe04d2..62f36a6 100644
--- a/Makefile
+++ b/Makefile
@@ -12,4 +12,7 @@ build:
@cabal run build
watch:
- @cabal run watch
+ @nodemon --watch src -e hs --exec 'make watch-command --silent'
+
+watch-command:
+ @(killall Cooking || :) && sleep 1 && cabal run watch