How to use "buck2 clean" or other commands to delete only the generated files (cache) without killing the daemon?
yaoddao opened this issue · comments
yaoddao commented
Ask a question above,Thanks!
Thomas Orozco commented
This is not a feature that exists in Buck2.
There is buck2 clean --stale that can clean files that were produced by a
previous daemon (assuming you’re using deferred materialization), but that
still won’t clear files the current daemon cares about.
If you think about it though, once you’ve cleared all the outputs there’s
not too much state left in the daemon (only loading and analysis), so what
you’re asking for might be a lot less useful than you think.
…On Tue, 19 Mar 2024 at 05:47, yaoddao ***@***.***> wrote:
Ask a question above,Thanks!
—
Reply to this email directly, view it on GitHub
<#608>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANIHVS5BGTJQF3UYTVHADLYY67PLAVCNFSM6AAAAABE42GHXGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4TIMBRGIYTONI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Jakob Degen commented
Yeah, agreed with Thomas. I think it would be good to know what the state that you are expecting to keep around is, we may be able to provide a more helpful answer then