4 ms·
I've used Grunt for most projects in the last year, and just tried Gulp for my newest. Gulp seems snappier overall to me for tasks that watch a source director
by lowboy 13y ago
I've used Grunt for most projects in the last year, and just tried Gulp for my newest.
Gulp seems snappier overall to me for tasks that watch a source directory with coffeescript or sass files in it. Maybe it's grunt-watch vs gulp.watch().
I think Grunt touches the filesystem more than Gulp which could potentially be a bottleneck. The creator (IIRC) of Gulp made a slideshow[0] .
Here's an example Gruntfile[1] generated with Yeoman and generator-angular. And a Gulpfile[2] which does fewer things (no production build yet).
[0]: http://slid.es/contra/gulp http://slid.es/contra/gulp
[1]: https://github.com/jjt/dramsy/blob/master/client/Gruntfile.js https://github.com/jjt/dramsy/blob/master/client/Gruntfile.j...
[2]: https://github.com/jjt/LUXTRUBUK/blob/master/gulpfile.js https://github.com/jjt/LUXTRUBUK/blob/master/gulpfile.js