[optimize/watchers] tweak ignore patterns

This commit is contained in:
spalger 2015-08-17 19:58:28 -07:00
parent ce19ecc2a2
commit 330622fe89
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View file

@ -10,7 +10,7 @@ target
.idea
*.iml
*.log
esvm
/esvm
.htpasswd
installedPlugins
webpackstats.json

View file

@ -64,7 +64,7 @@ module.exports = class ClusterManager {
'installedPlugins'
], {
cwd: fromRoot('.'),
ignored: /[\\\/](node_modules|bower_components|public)[\\\/]/,
ignored: /[\\\/](node_modules|bower_components|public|__tests__)[\\\/]/,
});
this.watcher.on('add', this.onWatcherAdd);