kaminaly / gulp-sync

28 stars 6 forks source link

Name should be optional parameter #4

Closed tamtakoe closed 9 years ago

tamtakoe commented 9 years ago

If I run t1 and t2

gulp.task('t1', gulpsync.sync(['a', 'b', 'c']));
gulp.task('t2', gulpsync.sync(['d', 'e', 'f']));

d, e, f only will be run.

I need name tasks

gulp.task('t1', gulpsync.sync(['a', 'b', 'c'], 'sync t1'));
gulp.task('t2', gulpsync.sync(['d', 'e', 'f'], 'sync t2'));

It uncomfortable. Name should be optional parameter

kaminaly commented 9 years ago

Thank you for advice. It was fixed!