 async = require('async')
 path = require('path')
 fs = require('fs')
+fsPlus = require('fs-plus')
 resin = require('../resin')
 
 PLUGINS_LOAD_PARALLEL_LIMIT = 5

			fullPathPlugins = _.map plugins, (plugin) ->
				return path.join(directory, plugin)

			async.filter fullPathPlugins, isDirectory, (results) ->
				return callback(null, results)

	], callback)


	], callback)

exports.readPluginsDirectory = (directory, callback) ->

	async.waterfall([
