I'm using multiple Tiltfiles for multi-repo scenario. I run tilt up in the main service which conditionally includes the Tiltfile from other repos.
In one of the other repos, I'm using cmd_button but it is failing as it runs the command in the working directory of where tilt up was called.
I am running commands like yarn graphql-codegen that rely on files in the ./node_modules file of the other repo.
Is there a way to set the working directory of a cmd_button so that it operates either where the Tiltfile is that defined it (the other repo) or for us to explicitly set it as a relative path?
I'm using multiple Tiltfiles for multi-repo scenario. I run
tilt up
in the main service which conditionally includes theTiltfile
from other repos.In one of the other repos, I'm using
cmd_button
but it is failing as it runs the command in the working directory of wheretilt up
was called. I am running commands likeyarn graphql-codegen
that rely on files in the./node_modules
file of the other repo.Is there a way to set the working directory of a
cmd_button
so that it operates either where the Tiltfile is that defined it (the other repo) or for us to explicitly set it as a relative path?