O'Reilly logo

Getting Started with Grunt: The JavaScript Task Runner by Jaime Pillora

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Continuous integration with Grunt

To put it simply, a continuous integration (or CI) server is a dedicated machine with the sole purpose of running builds, that is, it will continuously integrate the new build into a given system. Generally, CI servers work by creating an HTTP server and listening for data to be sent to it. Then, HTTP clients can post data to this server, triggering the server to start the build. For instance, you could tell GitHub to trigger your CI server on every commit (http://gswg.io#github-webhooks), then use Grunt on your CI to continuously perform tasks (such as analyzing, compiling, testing, and deploying your build) as new code arrives. When set up correctly, the act of committing to the main branch in your repository ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required