tilt-dev / tilt

Define your dev environment as code. For microservice apps on Kubernetes.
https://tilt.dev/
Apache License 2.0
7.69k stars 303 forks source link

Manually triggering live-sync for a list of files #3802

Open calvinytong opened 4 years ago

calvinytong commented 4 years ago

We have a solution that uses rsync to "catch up" our live sync (see https://github.com/tilt-dev/tilt/issues/3760). Unfortunately this solution is not cross platform because rsync is not supported on windows. To get around this, it would be nice to be able to pass Tilt a list of paths that need to be updated and have it "force" a live update of these files.

nicks commented 4 years ago

Usually I see teams do this as a local_resource that touches the files so that Tilt will sync them, like here:

https://github.com/tilt-dev/tilt-extensions/blob/master/file_sync_only/Tiltfile#L49

Does that work in the meantime?

Generally agree that we need better ergonomics around the "catch up" case so that less is left up to manual configuration

calvinytong commented 4 years ago

This works great for our use-case! Feel free to close if you have other issues covering this