Re:The streaming build system
by nailer on Saturday January 18, 2014 @03:39AM
(#7080549)
Yes, Gulp performs the same tasks as grunt. However I switched to gulp after trying it because:
Gulp's simpler - my old 47 line grunt file became a 23 line gulp file.
Also you don't expose useless targets, eg in grunt I have 'grunt less', but I have to tell people not to run that task , as I also use auto prefixer and can't make grunt less automatically run auto prefixer - if they run 'grunt less', they'll produce unusable code.
There are other reasons too - gulp was developed after grunt, so it does some things similarly and other things much differently http://slid.es/contra/gulp
Gulp's simpler - my old 47 line grunt file became a 23 line gulp file.
Also you don't expose useless targets, eg in grunt I have 'grunt less', but I have to tell people not to run that task , as I also use auto prefixer and can't make grunt less automatically run auto prefixer - if they run 'grunt less', they'll produce unusable code.
There are other reasons too - gulp was developed after grunt, so it does some things similarly and other things much differently http://slid.es/contra/gulp