about summary refs log tree commit diff stats
path: root/modd.conf
diff options
context:
space:
mode:
authorAlan Pearce2024-06-11 10:07:25 +0200
committerAlan Pearce2024-06-11 10:07:25 +0200
commit66b66e6118dd43ccbd1e85e33d44a02de7a2b812 (patch)
tree32987723187ddac9d3a8aa8187aa20080aa5c91d /modd.conf
parente89fbd7ef3e418629ea2533cf4fa9707fe51950f (diff)
downloadwebsite-66b66e6118dd43ccbd1e85e33d44a02de7a2b812.tar.lz
website-66b66e6118dd43ccbd1e85e33d44a02de7a2b812.tar.zst
website-66b66e6118dd43ccbd1e85e33d44a02de7a2b812.zip
server: automatically build, re-build and reload in dev
Diffstat (limited to 'modd.conf')
-rw-r--r--modd.conf8
1 files changed, 2 insertions, 6 deletions
diff --git a/modd.conf b/modd.conf
index a76738f..1c46a59 100644
--- a/modd.conf
+++ b/modd.conf
@@ -1,7 +1,3 @@
-config.toml content/** static/** cmd/build/* internal/** {
-    prep: go run ./cmd/build --base-url http://localhost:3000 --dev
-}
-
-config.toml website/** cmd/server/* "internal/{config,log,server,website}/**" {
-    daemon: go run ./cmd/server
+config.toml cmd/server/* "internal/**" {
+    daemon: go run ./cmd/server --dev
 }