GitShow/sindresorhus/gulp-changed
sindresorhus

gulp-changed

Only pass through changed files

by sindresorhus
gulp-pluginjavascriptnodejs
Star on GitHubForknpm

JavaScript

739 stars43 forks22 contributorsQuiet · 9mo agoSince 2014v5.0.4MIT

Meet the team

See all 22 on GitHub →
sindresorhus
sindresorhus69 contributions
appleboy
appleboy2 contributions
mikaelbr
mikaelbr2 contributions
milang
milang2 contributions
alexgorbatchev
alexgorbatchev2 contributions
gavinaiken
gavinaiken2 contributions
platy11
platy111 contribution
generalov
generalov1 contribution

Languages

View on GitHub →
JavaScript100%
CoffeeScript0%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
jcvignoli
v5.0.3 syncronizes allClosedIssue

Hi, It took me a while to track down the culprit, but gulp-changed v5.0.3 is the reason my workflows doesn't work anymore. Reverting back to v5.0.2 fixes my bug. Since v5.0.3, all files, instead of only edited ones, are synchronzed. Here is my gulp code: The watch gulp is pretty standard for gulp 5:

jcvignoli · 9mo ago
Allain55
compareLastModifiedTime with replaced filesClosedIssue

Hi, if I replace 1 file with another file than the compareLastModifiedTime method won't work if the new file was modified earlier. I think this method should also check the birthtime from the stats My suggestion is to replace this: With something like this:

Allain55 · 10mo ago
dmschlot
compareLastModifiedTime does not work in WindowsClosedIssue

The built in compareLastModifiedTime didn't work for me. On Windows the mtime of a file is rounded to seconds. Images created by people on a Mac, on the project I'm working on, have mliliseconds. When my task runs its creates the target file, and rounds milliseconds off. Subsequent runs it doesn't realize the source hasn't changed. For example here is the source and target mtimes it was seeing. 1446818873134 > 1446818873000 Below is the method I used: (NOTE: The bitwise math below is to round the float to an int. It's the quickest way according to: http://jsperf.com/math-floor-vs-math-round-vs-parseint/2) Thanks, David

dmschlot · 10mo ago
Structured data for AI agents

Repository: sindresorhus/gulp-changed. Description: Only pass through changed files Stars: 739, Forks: 43. Primary language: JavaScript. Languages: JavaScript (100%), CoffeeScript (0%). License: MIT. Topics: gulp-plugin, javascript, nodejs. Latest release: v5.0.4 (9mo ago). Open PRs: 0, open issues: 0. Last activity: 9mo ago. Community health: 71%. Top contributors: sindresorhus, appleboy, mikaelbr, milang, alexgorbatchev, gavinaiken, platy11, generalov, daviskoh, Richienb and others.

·@ofershap

Replace github.com with gitshow.dev