Introducing gulp.js
gulp.js
is basically a JavaScript task runner. All the tasks that were listed previously, as well as bundling of files, refreshing the browser automatically when you save a file after coding, running unit test files, and deploying a build with Amazon API, can be performed using gulp.js
. gulp.js
performs many tasks that are repetitive and boring:
"gulp is a toolkit for automating painful or time-consuming tasks in your development workflow, so you can stop messing around and build something"
– gulpjs.com
Let's take a look over the feature list and see why gulp.js
is so much more awesome than other libraries, such as grunt.js
, that are available in the open source market:
- Small, plugin-based structure design for implementing tasks
- Easy to read and understand the task
- Tasks can be integrated to perform automations
- All IO operations are performed using node.js streams, so all modifications are done in memory first and then written once at the end, resulting in faster and better...