You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure exactly what the syntax should look like but we need a glob->run task sugar util.
Possible option is having .watch take an object where the key is the task name and the value is the glob or array of globs that trigger it. Could also go the other way around.
For this pattern, at least from what I see in this gulpfile, it seems that for some tasks, it's efficient to run task on individually changed files instead of the entire glob'd target. Is this possible?
This is one of the reasons why I opted for gulp since this was cumbersome to do in grunt.
Activity
dashed commentedon Dec 29, 2013
For this pattern, at least from what I see in this gulpfile, it seems that for some tasks, it's efficient to run task on individually changed files instead of the entire glob'd target. Is this possible?
This is one of the reasons why I opted for gulp since this was cumbersome to do in grunt.
yocontra commentedon Dec 29, 2013
@dashed #13 is tricky to implement correctly though
ajoslin commentedon Dec 30, 2013
I think at the very least it could be
gulp.watch(glob[, tasksToRun...][, cb])floatdrop commentedon Jan 5, 2014
Is it out dated? Since we have now
gulp-watch- those gists can be written like this: https://gist.github.com/floatdrop/8262616yocontra commentedon Jan 5, 2014
Yep - use gulp-watch