gulp-git-changed
v0.4.0
Published
Filter files by only those changed between the last commit and HEAD
Downloads
158
Readme
Install
$ npm install --save-dev gulp-git-changed
Usage
var gulp = require('gulp');
var gitChanged = require('gulp-git-changed');
gulp.task('default', function () {
return gulp.src('src/file.ext')
.pipe(gitChanged({
file: 'hash-file',
src: 'src/'
}))
.pipe(gulp.dest('dist'));
});
License
MIT © Miguel Jimenez