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

Area to ignore the adjustment #86

Open
ghost opened this issue Sep 14, 2021 · 3 comments
Open

Area to ignore the adjustment #86

ghost opened this issue Sep 14, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 14, 2021

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
Copy link
Owner

I think you have opened this on the wrong repo.

@ghost
Copy link
Author

ghost commented Sep 14, 2021

@sindresorhus I talk about gulp-changed.

@sindresorhus
Copy link
Owner

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

@sindresorhus sindresorhus reopened this Sep 14, 2021
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

1 participant