From eaebfd1506c6949bbbec060ae37b1d6e539ddc2c Mon Sep 17 00:00:00 2001 From: Stephanie Gredell Date: Sat, 14 Jun 2025 16:32:02 -0700 Subject: [PATCH] finally use air for reloading --- air.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 air.toml diff --git a/air.toml b/air.toml new file mode 100644 index 0000000..320de53 --- /dev/null +++ b/air.toml @@ -0,0 +1,10 @@ +# .air.toml +[build] + cmd = "go build -o ./tmp/main" + bin = "tmp/main" + full_bin = "tmp/main" + include_ext = ["go", "tpl", "tmpl", "html", "js"] + exclude_dir = ["tmp", "vendor", "node_modules"] + +[log] + time = true