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

  }

  # Handle {% include %} tags
  context.onInclude (name, callback) ->
    log.silly "generate", "Fetching include for %s", name
    ast = tinyliquid.parse includes[name], liquidOptions
    callback null, ast

  convertIncludes includes, mergedPlugins.converters, (err) ->
    if err then return callback err

    # Compile layouts
    compiledLayouts = {}
    for name, {data, content} of layouts
      try
        compiledLayouts[name] = tinyliquid.compile content, liquidOptions
      catch err
        callback new Error "Error while compiling layout: #{err.message}"
        return

    log.verbose "generate", "Reading complete. Preparing to write"

    # Run generators
    async.forEachSeries(
      mergedPlugins.generators,
      (generator, cb) -> generator site, cb
      (err) ->
        if err then return callback err

        # Filter out any files blanked by generators
        site.static_files = site.static_files.filter (f) -> !!f

        # Now write all content to disk
        bundle = { site, config, liquidOptions, compiledLayouts, mergedPlugins, context }
        async.series([
          # Write posts before pages, since pagination, etc depend on
          # post-conversion HTML
          (cb) -> writePages site.posts, bundle, cb
          (cb) -> writePages site.pages, bundle, cb
          (cb) -> writeFiles bundle, cb
        ], callback)
    )

writePages = (pages, bundle, callback) ->
  async.forEachLimit(

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

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