How does `--force-refresh` work
# 💻|contributing
o
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
@alert-helicopter-61082 , could you take this one? I'd be happy to follow up and create docs based on your answer.