diff options
author | Alan Pearce | 2024-06-11 10:07:25 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-11 10:07:25 +0200 |
commit | 66b66e6118dd43ccbd1e85e33d44a02de7a2b812 (patch) | |
tree | 32987723187ddac9d3a8aa8187aa20080aa5c91d /modd.conf | |
parent | e89fbd7ef3e418629ea2533cf4fa9707fe51950f (diff) | |
download | website-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.conf | 8 |
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 } |