gulp vs. grunt


     

me = this


Marc Dix
Webdeveloper
mediaman(.de) *

@marcdix
github.com/mdix
gplus.to/mdix

* we  hire: http://careers.stackoverflow.com/de/company/mediaman 




What you're missing 

this evening...






I APOLOGIZE!





For compensation...

gulp vs. grunt 

grunt


- task runner

- configured via Gruntfile.js

- one read, manipulate, 

write cycle per task

- no reviews for plugins

- made by the community 

gulp


- build tool

- coded via Gulpfile.js

- one read, manipulate, write

cycle per glob

- all plugins are reviewed

- made by a company (Fractal) 



the boar has a

".temp" disease



The cure comes 

with gulp's STREAMS


configured grunt task




coded gulp task



5 gulp functions


gulp.task() - register a task

gulp.run() - runs tasks

gulp.watch() - watch a glob

gulp.src() - define a glob

gulp.dest() - write a glob

.pipe() - pipes into a function





DEMO!

Where to go from here?



- too slow grunt build?

try gulp

- else: stick with grunt






QUESTIONS?

GULP

By Marc Dix

GULP

  • 1,261
Loading comments...

More from Marc Dix