You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If anyone wants to see the code (i commented out the pre_cmd) https://github.com/petereichinger/videoplayer . I currently run templ generate using cmd as a workaround. pre_cmd would be preferable
Experiencing the same issue, I have my air.toml in my root directory with the main.go im trying to execute in cmd/client/main.go using cmd = "go build -o ./tmp/main cmd/client/main.go".
Tested using the default as well, and without pre_cmd = ["echo 'hello air' > pre_cmd.txt"], everything works fine, with it however it seems to disregard my custom cmd and fails saying there are no Go files in the directory
I created a basic air config with
air init
.Then i try to add a simple
pre_cmd
beforecmd
in the.air.toml
file:Now air does not work anymore (config is not parsed correctly and only defaults are used see #516
What do I do wrong here?
I use version 1.51.0 and use NixOs
The text was updated successfully, but these errors were encountered: