-
-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hot Reload not working for changes on main.go #568
Comments
It seems to I have the same issue, but when i set config file flag air -c .air.toml It works! air v1.51.0, built with Go go1.22.2 |
It doesn't work for me that way either. Maybe it is due to the Nix package using the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am using the air version packaged in nixpkgs. My operating system is NixOS. This is the version that gets returned on
air -v
:(devel), built with Go [email protected]
.This is my
.air.toml
file:As you can see I tried several things to include
main.go
, but nothing is working. When I run air it reports that it is watchingmain.go
, but when I change the contents of the file it doesn't reload.It does however detect changes in any file in the
internal/
directory.I assume this is a problem with the version packaged by nixpkgs, but maybe my configuration is not correct.
The text was updated successfully, but these errors were encountered: