Air always assumes that there is binary build target
jimidle opened this issue · comments
As I don't want to have more than one tool in use for monitoring rebuilds, I want to use air to also regenerate templates in module that does not produce a binary. Air does not support this even if you make the binary an empty target, it decides to try and run main
.
As a feature request, create a way to specify that there is no binary to run and just run the build command.
Also, there are 112 issues and 38 pull requests. Has the author abandoned this project?
I got a work around: just use true
. See this example: a-h/templ#667. See live/sync_assets
section of the makefile
Work around is fine, but it only works with command line arguments --build.bin "true"
if you try to do the same with .air.toml
file, it will show this error /bin/sh: 1: /home/.../.../your_project/true: not found
.