     .fail (err) ->
       callback err
 
-refreshContent = (config, callback) ->
+refreshContent = (config) ->
   log.silly "generate", "Refreshing content"
 
   # Get content in parallel:

  ])
    .then ([_, plugins, includes, layouts, { posts, pages, files }]) ->
      log.verbose "generate", "Initial content load complete"
      processResults {config, plugins, includes, layouts, posts, pages, files}, callback
    .fail (err) -> callback err

processResults = ({config, plugins, includes, layouts, posts, pages, files}, callback) ->
  # Create site data structure
  site = {
    time: Date.now()

  time.tzset config.timezone
  Q.all([checkDirectories(config), loadBundledPlugins()])
    .then ->
      refreshContent config
    .then ->
      log.info "generate", "Generated %s -> %s", config.source, config.destination
      callback()
