Tips, Tricks, and Resolving Issues

By this point, we have highlighted the many ways through which Gulp will improve your workflow and help you deliver more optimized and performant code. As with all software, there are some quirks that you may run into while using Gulp that could make the experience less than perfect.

In this chapter, we will explore some common tips, tricks, and solutions to some of the troubles that you may run into while using Gulp. 

Handling errors

One of the biggest problems that I encountered when first learning Gulp was how to handle it when something failed. Unfortunately, gulp doesn't have a clean way to handle errors, and when failures do occur, it doesn't handle them very gracefully. For example, let's say we have ...

Get Getting Started with Gulp – Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.