gulp-ruby-haml
gulp-ruby-haml copied to clipboard
Gulp running haml for all all files when one is changed.
When running my haml task, it goes through all few hundred files i have. Is there a way to have it only run on the files I have changed?
Is it a gulp thing or is it specific to gulp-ruby-haml?
Here is my haml task
// Haml Task
gulp.task('haml', function(){
gulp.src('web/templates/haml/**/*.haml', {read: true})
.pipe(haml())
.pipe(gulp.dest('web/templates/html/'))
.pipe(liveReload());
});
This is a gulp behavior.
gulp-ruby-haml runs on whatever files you give it.
You can select the changed files with the gulp-changed plugin.
See the official Gulp docs on the subject here.
(This issue can be closed)