Skip to content

Commit

Permalink
feat: add file inclusion to Air configuration for build monitoring
Browse files Browse the repository at this point in the history
- Updated .air.toml to include specific files (tailwind.config.js, tailwind.input.css, main.go) for monitoring during builds, enhancing the development workflow by ensuring relevant changes trigger rebuilds.
  • Loading branch information
tphakala committed Jan 12, 2025
1 parent b13c675 commit 0778115
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .air.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ tmp_dir = "tmp" # Temporary directory for build artifacts
full_bin = "" # Additional arguments when running the built binary
include_dir = ["views", "internal", "assets"] # Directories to include (watches all if empty)
include_ext = ["go", "tpl", "tmpl", "html", "css", "js"] # File extensions to watch
include_file = ["tailwind.config.js", "tailwind.input.css", "main.go"] # Files to watch
kill_delay = "0s" # Delay before killing the app on a rebuild
log = "build-errors.log" # File to log build errors
send_interrupt = false # Send interrupt signal before killing the app
Expand Down

0 comments on commit 0778115

Please sign in to comment.