Summary

In this chapter, we took a look at three advanced tasks using plain node.js modules instead of gulp plugins. Our first task creates a simple static server so that we can view our project in a browser. The second assists us by automatically refreshing our browser and keeping our actions in sync across multiple devices as we work. Finally, the third task allows us to use the node.js/CommonJS spec to modularize our client-side code and write it as if it is a node.js application.

In the next chapter, we will continue to improve our gulpfile by taking a look at some valuable tips and resolve some common issues that are easy to run into while using gulp.

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

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