code: function (task) {
    return function (err) {
      notify.onError({
        message: task + ' failed, check the logs',
        sound: false
      })(err);
      gutil.log(gutil.colors.bgRed(task + ' error:'), gutil.colors.red(err));
    };
  }
docs: /*
  Error notification methods