tschaub / gulp-newer

Pass through newer source files only
https://npmjs.org/package/gulp-newer
226 stars 24 forks source link

added ctime option w/ tests, docs #73

Closed nelsonpecora closed 5 years ago

nelsonpecora commented 6 years ago

Hi hi! I have an oddly-specific use case that takes into account source files' naming conventions, and I realized and they weren't being caught by gulp-newer because it checks mtimes. I figured this use case is pretty rare, but having a ctime option might be useful to other people.

Added the ctime option with docs, and duplicated a bunch of the tests (there might be a better way to go about that, please let me know) to make sure all of the existing functionality works with both mtime and ctime checking.

tschaub commented 5 years ago

Thanks for the contribution @nelsonpecora.

I'm not actively using gulp any more, so have not been attending to this repo much. If there are any interested maintainers out there, let me know.