sindresorhus / gulp-changed

Only pass through changed files
MIT License
742 stars 44 forks source link

Confused about when to use compareContents #81

Open silvenon opened 3 years ago

silvenon commented 3 years ago

Regarding the built-in compareContents comparator, won't comparing source content to target content pass every file through? Assuming that the gulp task performs some kind of transformation on the source content. E.g. a source .njk file will never be the same as the compiled .html file. How is this comparator intended to be used?