Permalink
Browse files

Making download work in parallel instead of a series

  • Loading branch information...
1 parent e449801 commit df9b6cf11a6adee259448ff044aa44ca21aee1b9 @kristoferjoseph kristoferjoseph committed Apr 5, 2013
Showing with 3 additions and 5 deletions.
  1. +3 −5 tasks/topcoat.js
View
@@ -135,7 +135,7 @@ module.exports = function(grunt) {
// Download controls, theme and skins into specified folders for the
// build
- async.series([
+ async.parallel([
function(callback) {
// Download controls into srcPath/controls/
@@ -191,10 +191,8 @@ module.exports = function(grunt) {
function(callback) {
grunt.task.run('clean:zip');
callback();
- },
+ }
- function() {
- done();
- }]);
+ ], done);
});
};

0 comments on commit df9b6cf

Please sign in to comment.