tilt-extensions
tilt-extensions copied to clipboard
[Question] - Trigger syncback on certain directory/file changes in container.
I noticed that the following is mentioned in the docs for the syncback extension:
running automatically in response to file/resource changes: it would be neat if Tilt knew when syncbacks were needed (because fileX changed locally, because Resource Y updated, or even if fileZ changed in the container), but currently this isn't supported
but im wondering if there are plans to add this support to the extension or if there a limitations that prevent this feature?
I have a local development environment that has a vite dev server to build the application assets, when vite runs and generates its build
directory, I can manually trigger a syncback
.
This allows other pods that reference the files to be updated once theyre written back to host as tilt would then live update the files accordingly. If for some reason there is another method of accomplishing this, then it would be great to get some insight on how to accomplish it.
Thanks.