In one word: automation. The less work you have to do when performing repetitive tasks like minification, compilation, unit testing, linting, etc, the easier your job becomes. After you’ve configured it, a task runner can do most of that mundane work for you and your team with basically no effort.
Task Runners are:
All the task runners cascade the following properties:
Why to use GruntJS ?
- Grunt prefers the configuration model approach to coding. This simplifies the development approach by adding the required functionalities directly as plug-ins.
- Grunt allows users to customize their tasks through predefined plug-ins. This eases the work to great extent.
- Grunt allows users to add their custom developed plug-ins and publish them to npm. Apart of officially maintained plug-ins there are many custom developed plug-ins offering wide range of tasks.