What these task runners do is that they automate repetitive tasks. Minification, compilation, unit testing, linting etc… These help developers tremendously by saving their time and energy.
A good task runner should complete it’s tasks as fast as possible so as not to waste time. The most popular task runners have a lot of plugins which can make it even easier to complete almost every task that a developer may need.
Another important point in choosing a task runner is it’s processing method. The first method is file-based, which means that files are used as units of work. Temporary files are created, edited and deleted by the task runner in intermediate steps of the process. The other method is by using the pipeline; files are connected together and processed in the machine’s memory through the processing steps.
|10 Recommended Products||Recommendations||Number of Plugins||Processing method||Task instruction style|
|#1 Gulp· · ·||67 | 4||1000+||Pipeline||Code|
|#2 NPM· · ·||24 | 3||100.000+||Pipeline||Configuration|
|#3 Grunt· · ·||22 | 10||4000+||FIle-based||Configuration|
|#4 Brunch· · ·||7 | 2||~100||Pipeline||Code|
|#5 Webpack· · ·||2 | 0||–||–||–|
|#6 Broccoli· · ·||4 | 1||200+||Pipeline||Configuration|