-
Notifications
You must be signed in to change notification settings - Fork 11
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
Temporary builds are not cleaned up with wgo #10
Comments
To be honest this has been affecting me as well (my computer has like 171 go-buildxxxx directories at this moment), but I've never run out of storage space from this before. How much space does your PC have? What does the output of this show? du -s /tmp/go-build* | awk '{ sum += $1 } END { print sum }' Mine shows 6143896, which is 6 gigabytes (!). It seems like golang/go #25808: cmd/go: install/build doesn't remove temporary files when aborted I think you would have to run rm -rf /tmp/go-build* every once in a while. |
Hi! |
Hi!
First of all thanks for the great tool! 🔥
I'm facing an issue but I don't really know how to debug it. Basically when I use
wgo
for a long time my/tmp
directory gets full and this errors pops-up:At first I thought it had something to do with #8 because I'm also using
templ
(although not in the same way) but it seems that's not the case. Example commands I'm using:Unsure if that's related but I also use
make
to run these. I tried both with and withoutmake
and the results are the same. After a while, my/tmp
directory looks like this:Maybe I'm doing something wrong?
The text was updated successfully, but these errors were encountered: