diff --git a/lib/plugin-loader.js b/lib/plugin-loader.js index dac03c5f7..b41cc5e47 100644 --- a/lib/plugin-loader.js +++ b/lib/plugin-loader.js @@ -16,7 +16,7 @@ function load_plugins(config, plugin_configs, params, sanity_check) { var plugin // try local plugins first - plugin = try_load(Path.resolve('./lib/plugins', p)) + plugin = try_load(Path.resolve(__dirname + '/plugins', p)) // npm package if (plugin === null && p.match(/^[^\.\/]/)) {