air
air copied to clipboard
☁️ Live reload for Go apps
My use case requires watching files that reside in a hidden director, in particular the `cmd/goserve-proto/.dist` directory, in the following file structure. ```bash . ├── .air.toml ├── cmd │ └──...
air version: 1.49.0 I would like to be able to watch all files with specific extensions in a set of directories as well as some files in `root_dir`. I have...
Request to add documentation for the options that go inside `.air.toml` - On the `air --help` CLI option - On the `README.md` of the reposiroty - Preferably both
Hi, I have the problem that after the second reload air crashes with the error of `fatal: morestack on g0`. The process is running twice: ``` running... Starting the server...
The file changed, only event found, there is no any reloading. ![image](https://github.com/cosmtrek/air/assets/10125111/6c005369-5395-457d-916d-07a86d8c5568) ![image](https://github.com/cosmtrek/air/assets/10125111/9b51125f-ad50-4025-a8e7-ef585148b23c)
TODOs
- [ ] https://github.com/cosmtrek/air/issues/428 https://github.com/cosmtrek/air/issues/387 support user input for air - [ ] https://github.com/cosmtrek/air/issues/197 only watch root folder - [ ] https://github.com/cosmtrek/air/issues/279 cross-platform config - [ ] https://github.com/cosmtrek/air/issues/466 support air...
The air.toml input was `full_bin = "DEV_MODE=ON ./tmp/main.exe"`, as detailed in #166, on MINGW64 Bash, Windows CMD and PowerShell Shell contexts. This resulted in the following error message ![image](https://user-images.githubusercontent.com/65051094/196853020-d74f0361-e6b2-4360-94a0-fe9517eb85ec.png) Note...
Hello everyone. fmt.scanf does not work properly with `air`. When pressing enter after the data it only enters new line but does not do the input. I tried it with...
On `master` branch: ```toml include_ext = ["go"] include_file = ["main.go", "openapi.yaml"] ``` This config will not trigger a reload when `openapi.yaml` changes because its extension is missing in `include_ext`. I...
It seems that air loads the config file in memory once when it starts up. This means that while air is running it cannot reload the config file if it...