code: function error(error) {
  
    const line = error.loc ? error.loc.line : (error.line ? error.line : 'Unknown');
    const file = (error.fileName ? error.fileName : (error.file ? error.file : (error.relativePath ? error.relativePath : ''))).replace(process.cwd(), '');
    const path = error.relativePath || 'path';
    const task = error.plugin || 'Task unknown';
    const name = error.name || 'Name unknown';
  
    // Easy error reporting
  
    if ( options.popups ) {
      notify({
        icon: options.error,
        title: name,
        subtitle: options.project,
        message: `Line ${line} in ${file}`,
      }).write(error);
    }
  
    let message = `${name} in ${file}: ${" line " + line + " "} \n ${error.message ? error.message.replace(process.cwd(), '') : error.toString()}`
  
    log(task + " Error", message)
  
    // Prevents any watchers from stopping
    this.emit('end');
  
  }
docs: ============================================================================= Errors =============================================================================