title: Gulp and phantomjs
body: <p>I'm trying to run automatic test with gulp. Everything works fine but I don't now how to close PhantomJS after codeception has finished.
  My gulp.js file looks like this</p>
  
  <pre><code>var gulp = require('gulp');
  var connect = require('gulp-connect-php');
  var shell = require('gulp-shell');
  var codecept = require('gulp-codeception');
  
  gulp.task('webserver', function() {
  
      connect.server({
        base : './public'
      });
  });
  
  gulp.task('phantom', shell.task(['phantomjs.exe --webdriver=4444']));
  
  gulp.task('codecept', function() {
      gulp.src('./tests/*.php').pipe(codecept());
  });
  
  gulp.task('tests', ['phantom', 'codecept']);
  </code></pre>
  
  <p>Is there way to stop Phantom after all tests are done or better way to lunch Phantom?</p>