Something fun I am experimenting with in Gulp.
It has bothered me for a while that I can't do multiple pieces of asynchronous work in a single Gulp task. Registering dependencies does not guarantee that the dependencies will execute in that order, but rather that they will all execute before the dependent task. I have been wanting to execute asynchronous tasks, in order, before running the real bit of work.
So, I sat down for a few minutes and figured out how to run multiple pieces of asynch work inside the same task, all while still doing the bulk of the work in the regular stream pipe manner. A classic use case is being able to run a clean task before building the new files -- it just bugs me that I need a separate clean task for each build task.
For anyone interested, here is the gist: https://gist.github.com/catdad/1561f511b7f0d864cb4f