mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-01-05 11:49:43 -06:00
Add .air.toml configuration file for live reloading
This commit is contained in:
16
.air.toml
Normal file
16
.air.toml
Normal file
@@ -0,0 +1,16 @@
|
||||
# Docs for .air.toml
|
||||
# https://github.com/cosmtrek/air/blob/master/air_example.toml
|
||||
|
||||
root = "."
|
||||
|
||||
[build]
|
||||
cmd = "task build"
|
||||
full_bin = "task serve"
|
||||
delay = 100
|
||||
exclude_dir = ["tmp", "dist"]
|
||||
exclude_file = ["internal/view/static/css/style.css"]
|
||||
exclude_regex = ["_test.go", "_generated.go", ".sql.go", ".gen.go"]
|
||||
include_ext = ["go", "sql", "js", "css", "json"]
|
||||
|
||||
[log]
|
||||
main_only = true
|
||||
Reference in New Issue
Block a user