Right now even if you specify that the tmp directory is different from the project root air will still make a tmp directory in the current root. For example. If your air.toml is like this:
the result is that not only will it make a tmp directory in your project root owned by the docker user (usually root) and it will also error out. It looks like this solution is partially resolved with this pull request #318 but that doesn't resolve the fact that air doesn't respect the config and still makes a temp directory where it wants to regardless of the settings listed.
Right now even if you specify that the tmp directory is different from the project root air will still make a tmp directory in the current root. For example. If your air.toml is like this:
and you run with the docker container like so:
the result is that not only will it make a tmp directory in your project root owned by the docker user (usually root) and it will also error out. It looks like this solution is partially resolved with this pull request #318 but that doesn't resolve the fact that air doesn't respect the config and still makes a temp directory where it wants to regardless of the settings listed.