title: gulp end callback not called
body: <p>I'm having trouble setting up a simple task on gulp. I want to pass the files through <code>gulp-babel</code> to run a script, but the <code>end</code> callback is never called.</p>
  
  <p>I also tried <code>finish</code>. The only callback called is <code>data</code>, but it doesn't work for me because I need to run it after all the files ran through babel.</p>
  
  <p><code>gulp-debug</code> shows the files have been correctly found.</p>
  
  <p>Any toughts?</p>
  
  <pre><code>(function () {
      'use strict';
  
      var gulp = require('gulp'),
          babel = require('gulp-babel'),
          debug = require('gulp-debug');
  
  
      gulp.task('parseReviews', function () {
          gulp.src(['scripts/parseReviews.js', 'src/**/*.js'])
          .pipe(debug())
          .pipe(babel())
          .on('end', function () {
              const foo = require('../../scripts/parseReviews');
              console.log(foo);
          });
      });
  })();
  </code></pre>