air
air copied to clipboard
☁️ Live reload for Go apps
It seems to be working, but there's no rebuilding after I change the code. Dockerfile: ``` FROM golang:alpine RUN apk add --no-cache git WORKDIR /app COPY go.* . COPY *air.toml...
I'm working on https://github.com/soypat/upsya and am unable to use `air` due to this bug. ## Steps to reproduce My `.air.toml` looks like (click Details) ```toml root = "." testdata_dir =...
Hi there This package is really helpful in my daily development, thank you. I was doing some code reading to contribute and found a small typo that I have fixed.
Was trying to use `/tmp/air` as `tmp_dir` but it did not work well. `filepath.Join` simply concatenates both components, resulting in something like `/home/user/myproj/tmp/air`, which is counter-intuitive.
Go projects can leverage the "replace" directive in go.mod to swap an imported module for a local copy. Example [from the gomod-ref docs](https://go.dev/doc/modules/gomod-ref#replace): ``` replace example.com/othermodule => ../othermodule ``` This...
Signed-off-by: Kaan Karakaya
Air load a server on port, eg 8080. Cannot be accessed by others. Instead, using " go run main.go" to start the server, it can be accessed. I found that,...
Example: ``` func main() { greeting := flag.String("greeting", "Hello", "") name := flag.String("name", "World", "") flag.Parse() fmt.Println(*greeting, *name) } ``` When run directly, ``` ❯ ./tmp/main --name "James Bond" Hello...
I was having an issue with plugin loading, so I tested by building my program by hand and then running it, the issue was that AIR was compiling my program...
As noted in issue #50, output logging only shows up when `air` is closed. This is a bit annoying since you have to close `air` (and most likely restart it)...