lib/index.js
function stop(opts, done) {
  debug('stopping...');

  killIfRunning(opts, function(err) {
    debug('Any running workers have been sent a stop command');
    done(err);
  });
}
function stop(opts, done) {
  debug('stopping...');

  killIfRunning(opts, function(err) {
    debug('Any running workers have been sent a stop command');
    done(err);
  });
}
function stop ( opts , done ) { debug ( 'stopping...' ) ; killIfRunning ( opts , function ( err ) { debug ( 'Any running workers have been sent a stop command' ) ; done ( err ) ; } ) ; }
Cleans up artifacts from this specific run and then kills the process.

@param {Object} opts
@param {Function} done
@api private
Cleans up artifacts from this specific run and then kills the process .