Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -p flag to mkdir, when creating temp folder #493

Open
ColdFire87 opened this issue Nov 1, 2023 · 1 comment · May be fixed by #576
Open

Add -p flag to mkdir, when creating temp folder #493

ColdFire87 opened this issue Nov 1, 2023 · 1 comment · May be fixed by #576

Comments

@ColdFire87
Copy link

Allow Air to create nested subdirs for the binaries.

Config:

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

image

@PhilThurston
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants