sindresorhus/gulp-mocha — pull request #56 by floatdrop (2014-09-09 08:00:54+00:00)
Title: Call through callback when mocha emits end

This will fix #49 issue. Since mocha do not emits any events, if no tests was provided (see https://github.com/visionmedia/mocha/blob/master/lib/runner.js#L488) + callback is called in sync - we can't access to mocha runner from inside of the callback.