diff --git a/lib/distributor.js b/lib/distributor.js index 53f2bf1..e526533 100644 --- a/lib/distributor.js +++ b/lib/distributor.js @@ -98,6 +98,9 @@ Distributor.prototype._onBuildComplete = function(err, build, callback) { Steppy( function() { + // notify about build + notifier.send(build); + // process after build triggers var triggerAfterGroup = this.makeGroup(); @@ -120,9 +123,6 @@ Distributor.prototype._onBuildComplete = function(err, build, callback) { }, function(err, triggerAfterGroupResults) { - // notify about build - notifier.send(build); - // try to run next project from the queue self._runNext(this.slot()); },