https://garden.io logo
#💻|dev
How does `--force-refresh` work
# 💻|dev
o

orange-ability-1812

01/23/2024, 2:23 AM
I know that when you use
--force-refresh
then the providers will re-initialize. But in some other cases without this flag I have found them refreshing. My question is what specifically can trigger a provider refresh? I ask because I have start putting a lot of stuff into an
exec
dependency provider for e.g. starting minikube, setting up credentials, etc. and it can take a while to restore the cluster state since then everything needs to redeploy. Maybe this isn't a good idea in general but I just want to better understand how that mechanism as it isn't documented to my knowledge.
b

brief-restaurant-63679

01/25/2024, 2:16 PM
@alert-helicopter-61082 , could you take this one? I'd be happy to follow up and create docs based on your answer.