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

sync: devspace sync command behavior #732

Closed
FabianKramm opened this issue Oct 8, 2019 · 1 comment
Closed

sync: devspace sync command behavior #732

FabianKramm opened this issue Oct 8, 2019 · 1 comment
Labels
area/sync Issues related to the real-time code synchronization p/medium Medium priority

Comments

@FabianKramm
Copy link
Collaborator

Currently devspace sync will delete locally not existing files in the remote folder. While this behavior makes sense for devspace dev and can be configured with the downloadOnInitialSync flag there is no option for the devspace sync command. We should introduce a flag --download-on-initial-sync so users are able to configure such behaviour

@FabianKramm FabianKramm added area/sync Issues related to the real-time code synchronization p/medium Medium priority labels Oct 8, 2019
@LukasGentele
Copy link
Contributor

Completely agree. I even think that --download-on-initial-sync should be true by default because using false does not just mean not downloading files, it would also mean deleting remote files if they are not existing locally and that is a very common scenario but deleting the files is very rarely intended.

FabianKramm added a commit that referenced this issue Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sync Issues related to the real-time code synchronization p/medium Medium priority
Projects
None yet
Development

No branches or pull requests

2 participants