✨feature: Set up Tailwind and automate dev process to watch all files for changes and rebuild as needed
This commit is contained in:
33
.air.toml
Normal file
33
.air.toml
Normal file
@@ -0,0 +1,33 @@
|
||||
root = "."
|
||||
|
||||
[build]
|
||||
cmd = "go run main.go"
|
||||
delay = 1000
|
||||
exclude_dir = ["assets", "tmp", "vendor", "bak", "node_modules", "public"]
|
||||
include_ext = ["go", "md", "html"]
|
||||
kill_delay = "0s"
|
||||
log = "build-errors.log"
|
||||
|
||||
[color]
|
||||
app = ""
|
||||
build = "yellow"
|
||||
main = "magenta"
|
||||
runner = "green"
|
||||
watcher = "cyan"
|
||||
|
||||
[log]
|
||||
main_only = false
|
||||
silent = false
|
||||
time = false
|
||||
|
||||
[misc]
|
||||
clean_on_exit = false
|
||||
|
||||
[proxy]
|
||||
app_port = 0
|
||||
enabled = false
|
||||
proxy_port = 0
|
||||
|
||||
[screen]
|
||||
clear_on_rebuild = false
|
||||
keep_scroll = true
|
||||
Reference in New Issue
Block a user