code: function getDefaults(context, options) {
    const defaults = _.cloneDeep(DEFAULT_CONFIG);
    const taskName = context && context.seq[0];
  
    if (options.src) {
      if (taskName)
        defaults.watch = {
          files: [$.glob(`**/*`, { base: $.glob(options.src, { base: options.base }), exts: FILE_EXTENSIONS })],
          tasks: [taskName]
        };
  
      defaults.jade.basedir = $.glob(options.src, { base: options.base });
      defaults.pug.basedir = $.glob(options.src, { base: options.base });
      defaults.inPlace.engineOptions.basedir = $.glob(options.src, { base: options.base });
    }
  
    return defaults;
  }
docs: Gets preprocessed default config.
  
  @param {Object} context
  @param {Object} options
  
  @return {Object}