Summary
In this chapter, we discussed valuable tips and tricks to help resolve some common issues that users can run into while using Gulp. By implementing some additional Gulp plugins and node modules, we were able to make our tasks even more helpful and powerful.
We explored how to implement better error handling and prevented our watch task from silently exiting upon failure. Using arrays and external configs, we were able to gain more control over how our source files are processed, and how to prevent unnecessary repetition throughout our tasks.
Finally, we wrapped up this chapter by demonstrating how we can set tasks as dependencies, improve browser debugging with source maps, and a quick trick to enable us to write our gulpfile
using ES2015.