Skip to content

Commit

Permalink
Merge pull request #4678 from spalger/implement/dontWatchGit
Browse files Browse the repository at this point in the history
[cluster] do not watch for changes in directories that start with a dot
  • Loading branch information
rashidkpc committed Aug 18, 2015
2 parents f34156e + 97d38a8 commit c46e40c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/cluster/ClusterManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module.exports = class ClusterManager {
'installedPlugins'
], {
cwd: fromRoot('.'),
ignored: /[\\\/](node_modules|bower_components|public)[\\\/]/,
ignored: /[\\\/](\..*|node_modules|bower_components|public)[\\\/]/,
});

this.watcher.on('add', this.onWatcherAdd);
Expand Down

0 comments on commit c46e40c

Please sign in to comment.