Skip to content

Delete files from dest if they are deleted locally#64

Open
tcfunk wants to merge 4 commits intoteambition:masterfrom
tcfunk:master
Open

Delete files from dest if they are deleted locally#64
tcfunk wants to merge 4 commits intoteambition:masterfrom
tcfunk:master

Conversation

@tcfunk
Copy link
Copy Markdown

@tcfunk tcfunk commented Oct 23, 2017

No description provided.

@zensh
Copy link
Copy Markdown
Collaborator

zensh commented Oct 24, 2017

I would like to remove the dest dir and then copy files.

@zensh
Copy link
Copy Markdown
Collaborator

zensh commented Oct 24, 2017

This is break change, if some one do some "append" work.

@tcfunk
Copy link
Copy Markdown
Author

tcfunk commented Nov 15, 2017

What if deletes were enabled via some config variable that you have to turn on?

@zensh
Copy link
Copy Markdown
Collaborator

zensh commented Nov 15, 2017

that is good idea!

} else {
gutil.log('"' + gutil.colors.cyan(file.path) + '" has no content. Skipping.')
}
return callback()
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The callback will be in conflict if deleteRemote on.

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

Successfully merging this pull request may close these issues.

2 participants