Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Gulp ??? Second Edition

You're reading from   Getting Started with Gulp ??? Second Edition Automating web development workflows

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781787283732
Length 132 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Travis Maynard Travis Maynard
Author Profile Icon Travis Maynard
Travis Maynard
Arrow right icon
View More author details
Toc

Table of Contents (7) Chapters Close

Preface 1. Introducing Gulp
2. Getting Started FREE CHAPTER
3. Understanding the Basics of Gulp
4. Performing Tasks with Gulp
5. Creating Advanced Tasks
6. Tips, Tricks, and Resolving Issues

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 our watch task running in the background as we are editing a Sass file. We're typing away and styling our website, but we accidentally hit a key that the...

lock icon The rest of the chapter is locked
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image