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.
We discussed how to use tasks as dependencies and used them to implement a new task to clean our build directory upon task execution.
Finally, we discussed how to improve browser debugging by adding source map generation into our JavaScript task.