air icon indicating copy to clipboard operation
air copied to clipboard

☁️ Live reload for Go apps

Results 201 air issues
Sort by recently updated
recently updated
newest added

cmd = 'go build -gcflags="all=-N -l" -o ./tmp/main.exe .' 我在windows平台进行开发,启动cmd命令需要使用双引号,这个直接执行会出现 invalid value "\"all=-N" for flag -gcflags: parameter may not start with quote character " usage: go build [-o output] [build...

I have go and htmx project and when I try and start air it doesn't crashes as shown in image below. I have seen in a issue if you put...

Improves the logs for #516 . After looking into the codebase, I understand that the following behaviour is intended: 1. read `.air.toml` if available. 2. failing above, read `.air.conf` if...

This PR allows `air` to be a Flake input for Nix users who use `air` in their Go projects. It also better supports `air` development by providing a development shell...

`fatih/color` disables colors if the output isn't a tty. The accepted way of dealing with this seems to be for the program using `color` to expose a flag and hard-override...

I oftentimes find myself needing a multilevel folder structure in the `tmp` folder (e.g., `tmp/cmd1/...`, `tmp/cmd2/...`). Unfortunately, `tmp_dir = tmp/cmd1` fails unless `tmp/` already exists. Although this is very easy...

When a user provides an invalid toml config that fails to be parsed, `air` will silently continue with default settings. Very confusing if you are debugging what's going on. Example...

The default encoding in Go is UTF-8. However, when `cmd.exe` is run on non-Latin Windows systems, it may use an encoding other than UTF-8, which can lead to garbled text....

neither "public/js" or "public\js" work properly for exclude sub directory "js" ----------------------- / /\ | | | |_) /_/--\ |_| |_| \_ v1.49.0, built with Go go1.21.0

I'm new to dev so Im hoping this isn't a installation problem but I'm noticing that my Go server stops responding after 3 or sometimes 4 responses. I'm on windows,...