 #
 # Returns nothing.
 initialize = (options, configParams, onCompile, callback) ->
-  packages = loadPackages '.'
-
   if options.config?
     logger.warn '`-c, --config` option is deprecated. Use `--env` and `config.overrides` instead'
   if options.optimize?

        return false unless plugin::?.extension in config.workers.extensions
      plugin::?.brunchPlugin and (not worker.isWorker or plugin::?.compile or plugin::?.lint)
    .map (plugin) ->
      new plugin config

loadPackages = (rootPath, callback) ->
  rootPath = sysPath.resolve rootPath

        depPath = "#{nodeModules}/#{dependency}"
        if isDev
          try
            requireModule depPath, dependency
          catch e
            null
        else
          try
            requireModule depPath, dependency
          catch error
            throw new Error "You probably need to execute `npm install` to install brunch plugins. #{error}"
  plugins = loadDeps(Object.keys json.dependencies)
