Developers, Technology Evangelists, Bros.

Gulp Cheatsheet

In my Gulp research and learning, I have run across a great Gulp cheatsheet on GitHub. The cheatsheet demonstrates the most common Gulp patterns you may use when consuming a Gulp stream in a task sequence.

The most basic Gulp task sequence is the “single destination” task sequence.

In this scenario, you identify the stream source, transform it multiple times via a sequence of gulp plugins, and finally output the resulting stream to a destination. Sometimes, I think too serially (task1, task2, …, taskN), which gives me tunnel vision. In this line of thought, I hadn’t realized that you could have multiple destinations for a single Gulp task sequence. So, I can output a Gulp stream multiple times, and to multiple locations.

I wanted to share this realization with everyone else, because the obvious is not always so obvious (especially, if you’re like me).


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.