about summary refs log tree commit diff stats
path: root/modd.conf
diff options
context:
space:
mode:
authorAlan Pearce2024-06-05 12:16:36 +0200
committerAlan Pearce2024-06-05 12:16:36 +0200
commitc0036498bba6cbe6e9a5815ca7687cc57129376e (patch)
tree47c1a8135a672f280417c36a798597a23b99a127 /modd.conf
parent779bfc1e56eec9f70bba21aff3ea490856d90876 (diff)
downloadwebsite-c0036498bba6cbe6e9a5815ca7687cc57129376e.tar.lz
website-c0036498bba6cbe6e9a5815ca7687cc57129376e.tar.zst
website-c0036498bba6cbe6e9a5815ca7687cc57129376e.zip
replace unreliable dev server with modd
Diffstat (limited to 'modd.conf')
-rw-r--r--modd.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/modd.conf b/modd.conf
new file mode 100644
index 0000000..ab3e70e
--- /dev/null
+++ b/modd.conf
@@ -0,0 +1,7 @@
+config.toml content/** static/** cmd/build/* internal/** {
+    prep: go run ./cmd/build --base-url http://localhost:3000
+}
+
+config.toml website/** cmd/server/* "internal/{config,log,server,website}/**" {
+    daemon: go run ./cmd/server
+}