What's a task runner?

A task runner is computer program that runs a sequence of tasks over your source code, applying transformations to the files. For example, consider that you are writing a source code in the CoffeeScript programming language, one task would be compiling all your source code in JavaScript, other task can be concatenating all the output JavaScript files in a single file, and the third task can finally be minifying the concatenated file to minimize the file size.

These tasks will automatically be run by the task runner, you just need to write a script file to program what needs to be done and then forget to run any command line again. The task runner provides triggers to start a task whenever you change a file so that it is done ...

Get Mastering Backbone.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.