tasks/lib/taskrun.js
function TaskRun(target) {
    this.name = target.name || 0;
    this.files = target.files || [];
    this._getConfig = target._getConfig;
    this.options = target.options;
    this.startedAt = false;
    this.spawned = null;
    this.changedFiles = Object.create(null);
    this.spawnTaskFailure = false;
    this.livereloadOnError = true;
    if (typeof this.options.livereloadOnError !== 'undefined') {
      this.livereloadOnError = this.options.livereloadOnError;
    }
  }
function TaskRun(target) {
    this.name = target.name || 0;
    this.files = target.files || [];
    this._getConfig = target._getConfig;
    this.options = target.options;
    this.startedAt = false;
    this.spawned = null;
    this.changedFiles = Object.create(null);
    this.spawnTaskFailure = false;
    this.livereloadOnError = true;
    if (typeof this.options.livereloadOnError !== 'undefined') {
      this.livereloadOnError = this.options.livereloadOnError;
    }
  }
function TaskRun ( target ) { this . name = target . name || 0 ; this . files = target . files || [ ] ; this . _getConfig = target . _getConfig ; this . options = target . options ; this . startedAt = false ; this . spawned = null ; this . changedFiles = Object . create ( null ) ; this . spawnTaskFailure = false ; this . livereloadOnError = true ; if ( typeof this . options . livereloadOnError !== 'undefined' ) { this . livereloadOnError = this . options . livereloadOnError ; } }
Create a TaskRun on a target
Create a TaskRun on a target