diff --git a/backend/.air.toml b/backend/.air.toml index 5bf7a4f..8aaec7e 100644 --- a/backend/.air.toml +++ b/backend/.air.toml @@ -2,9 +2,9 @@ root = "." tmp_dir = "tmp" [build] -cmd = "templ generate && go build -o ./tmp/web ./cmd/web" +cmd = "templ generate && ./bin/tailwindcss -i tailwind.input.css -o static/tailwind.css && go build -o ./tmp/web ./cmd/web" bin = "./tmp/web" -include_ext = ["go", "templ"] +include_ext = ["go", "templ", "css"] exclude_dir = ["tmp", "bin", "static", ".git", "internal/db/sqlc"] exclude_regex = [".*_templ\\.go$"] delay = 200