summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-11 13:32:11 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-11 13:32:11 +0000
commit01017b1f61393d4135afc5fede73e71d78fa7b28 (patch)
tree83bcd64c2491d7d587e4d4420b82f16198be43b9
parent2b3b309e974c6abba34cb1a419e78761d86b8a35 (diff)
Adds entr command to re-run run command
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c910003..1b1ba5a 100644
--- a/Makefile
+++ b/Makefile
@@ -14,3 +14,6 @@ stop:
# assume CREATE DATABASE ded CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
populate:
mariadb -u web ded -p < populate.sql
+
+entr-run:
+ find . | entr -r go run ./cmd/web