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. 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. Finally, we implemented Babel as a part of our Browserify task so that we can use the latest JavaScript features in our code without worrying about browser implementation.
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.