about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-10 12:58:26 +0200
committerAlan Pearce2024-05-11 15:19:52 +0200
commitc232a6c46c59200236d1e1bea6b170859cda1005 (patch)
treea14c51772528dfd0e273e206cfefda54cecf72fe
parent4b2560893f433034fa7649f9979373adfb018e61 (diff)
downloadsearchix-c232a6c46c59200236d1e1bea6b170859cda1005.tar.lz
searchix-c232a6c46c59200236d1e1bea6b170859cda1005.tar.zst
searchix-c232a6c46c59200236d1e1bea6b170859cda1005.zip
build: make `just dev` reload on go file changes
-rw-r--r--justfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/justfile b/justfile
index 85cc4c9..da0122f 100644
--- a/justfile
+++ b/justfile
@@ -21,7 +21,7 @@ precommit:
 	nix-build -A pre-commit-check
 
 dev:
-	watchexec wgo run -exit ./serve/ --live --config-file config.toml
+	watchexec -e go -r wgo run -exit ./serve/ --live --config-file config.toml
 
 reindex:
 	wgo run -exit ./import/ --replace --config-file config.toml