   config.paths.build ?= config.buildPath ? join 'root', 'public'
   config.paths.app ?= join 'root', 'app'
   config.paths.config = configPath ? join 'root', 'config'
+  config.paths.packageConfig ?= join 'root', 'package.json'
   config.paths.assets ?= join 'app', 'assets'
   config.paths.test ?= join 'root', 'test'
   config.paths.vendor ?= join 'root', 'vendor'

  server.listen parseInt port, 10
  server.on 'listening', callback
  logger.info "application started on http://localhost:#{port}/"

exports.startServer = (config, callback = (->)) ->
  if config.server.path


exports.loadPlugins = (config, callback) ->
  rootPath = sysPath.resolve config.rootPath
  fs.readFile config.paths.packageConfig, (error, data) ->
    return callback error if error?
    deps = Object.keys JSON.parse(data).dependencies
    try
