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

Include example of removing unchanged elements from stream #1

Open
akaleeroy opened this issue Apr 1, 2018 · 1 comment
Open

Include example of removing unchanged elements from stream #1

akaleeroy opened this issue Apr 1, 2018 · 1 comment

Comments

@akaleeroy
Copy link

In the README, please add an example of removing unchanged elements from the stream.
As in what other things can you do in the compare callback, besides console.log(difference)?

@DanielRuf
Copy link

difference.changedFiles should contain them. See https://github.com/jwbay/gulp-snapshot/blob/master/index.js#L104

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

2 participants