Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] - Trigger syncback on certain directory/file changes in container. #563

Open
surgiie opened this issue Mar 15, 2024 · 0 comments

Comments

@surgiie
Copy link

surgiie commented Mar 15, 2024

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.

@surgiie surgiie changed the title [Question] - Trigger syncback on certain directory/file changes. [Question] - Trigger syncback on certain directory/file changes in container. Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant