Consider triggering replacement for CopyFile when local file changes #151
Labels
kind/enhancement
Improvements or new features
resolution/duplicate
This issue is a duplicate of another issue
Hello!
Issue details
CopyFile does not sync the local file to the remote file when the local file changes. This can be implemented manually by using
triggers
with the hash of the local file forcing a replace. But perhaps should be the default behavior? If not, perhaps we can make this trigger example easy to find for new users.Please see details worked out in the gist: https://gist.github.com/t0yv0/addb78402b3e91a910b2021bce7c8e1d
Also, tangentially, remote.Command that depends_on the CopyFile does not replace when CopyFile replaces. Is this expected? It can be made replace itself if given the same triggers as CopyFile in the current implementation.
Affected area/feature
The text was updated successfully, but these errors were encountered: