Content deleted Content added
Added overview and working |
gulp vs grunt added |
||
Line 16:
== Overview ==
gulp.js is a build tool in JavaScript built on node streams. The streams facilitate the connection of file operations through pipelines. gulp reads the file system and pipes the data at hand from its one single purposed plugin to other through pipes doing one task at a time. The original files are not affected until all the plugins are processed. It can be configured either to modify the original files or create new ones. This grants the ability to perform complex tasks through linking its myriad of plugins. The users can also write their own plugins to define their own tasks. gulp requires knowledge on JavaScript and coding to define its tasks. gulp is a build system which means aside from running tasks it is also capable of copying files from one ___location to another, compiling, deploying, creating notifications, unit testing, linting etc.
== gulp vs Grunt ==
Both Grunt and gulp are task runners in JavaScript built on node. Grunt runs tasks by transforming files and save as new ones in temporary folders. The output of one task is taken as input for another one and on until it reaches destination folder. This involves a lot of I/O calls and many temporary files. Whereas gulp streams through the file system and does not require these temporary locations. Since it streams the data it also decreases the number of I/O calls and also improves performance. Grunt uses configuration files to perform tasks whereas gulp requires coding. In grunt, each plugin needs to be configured to match its input ___location to the previous plugin’s output. In gulp they are automatically pipe-lined.
== Installation ==
|