diff --git a/lib/index.js b/lib/index.js index 8751f21..9628a24 100644 --- a/lib/index.js +++ b/lib/index.js @@ -161,7 +161,9 @@ exports.start = function(config) { logger.info('Watching: ' + dir); }); - eventArgs.ignorePatterns.forEach(function(pattern) { + eventArgs.ignorePatterns.filter(function(pattern) { + return ! /^[#;]/.test(pattern); // don't show comments from .gitignore + }).forEach(function(pattern) { logger.info('Ignore rule: ' + pattern); }); }) @@ -240,4 +242,4 @@ exports.start = function(config) { }); return launcher; -}; \ No newline at end of file +};