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

Gulp running haml for all all files when one is changed. #14

Open
jjcall opened this issue Apr 27, 2015 · 1 comment
Open

Gulp running haml for all all files when one is changed. #14

jjcall opened this issue Apr 27, 2015 · 1 comment

Comments

@jjcall
Copy link

jjcall commented Apr 27, 2015

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());
});
@AnalyzePlatypus
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants