diff --git a/lib/services-loader.js b/lib/services-loader.js index 625b4cb..ec784ae 100644 --- a/lib/services-loader.js +++ b/lib/services-loader.js @@ -49,7 +49,8 @@ module.exports.create = function (conf, deps) { var services = []; nodes.forEach(function (node) { - if (!/^\./.test(node)) { + if (/^\./.test(node)) { + // ignore dot files return; } promise = promise.then(function () {