sindresorhus / gulp-changed

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

Area to ignore the adjustment #86

Open ghost opened 3 years ago

ghost commented 3 years ago

In my Gulpfile the update date is written in the first line of the CSS file. Can I specify that Changed should ignore a part, e.g. the last line with the source map line?

My Gulpfile v4: https://gist.github.com/jolution/9b2abbd53a326b8f1b2a13403f12e16f

sindresorhus commented 3 years ago

I think you have opened this on the wrong repo.

ghost commented 3 years ago

@sindresorhus I talk about gulp-changed.

sindresorhus commented 3 years ago

Ok. I re-read the question now. That's not supported built-in, but you could write your own comparison function that strips that line and then calls the built-in comparison: https://github.com/sindresorhus/gulp-changed#haschanged