Task runners

A task runner is a tool used to automate tasks in the development process. The task can be used to perform a wide variety of operations such as the compilation of TypeScript files or the compression of JavaScript files. The two most popular JavaScript task runners these days are Grunt and Gulp.

Grunt started to become popular in early 2012 and since then the open source community has developed a large number of Grunt-compatible plugins.

On the other hand, Gulp started to become popular in late 2013; therefore, there are less plugins available for Gulp, but it is quickly catching up with Grunt.

Besides the number of plugins available, the main difference between Gulp and Grunt is that while in Grunt we will work using files as the input ...

Get TypeScript: Modern JavaScript Development 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.