air icon indicating copy to clipboard operation
air copied to clipboard

Add `-p` flag to `mkdir`, when creating temp folder

Open ColdFire87 opened this issue 1 year ago • 1 comments

Allow Air to create nested subdirs for the binaries.

Config:

root = "../../../../"
testdata_dir = "testdata"
tmp_dir = "temp/livereload"

image

ColdFire87 avatar Nov 01 '23 13:11 ColdFire87

It is important to note that there are additional use cases for this request. If you set your tmp_dir = "/tmp/air" in the air.toml it will fail because it can't make a subdirectory. Additionally, even if tmp_dir = "/tmp" is set air will still create a tmp directory wherever the root is regardless even though it doesn't use it.

PhilThurston avatar Nov 23 '23 05:11 PhilThurston