[Build] npm start should ignore coverage directory (#10415)

Running test coverage and running Kibana should not interfere with each other.
This commit is contained in:
Chris Earle 2017-03-21 15:51:26 -04:00 committed by Chris Earle
parent d4a60eb41a
commit 6587cc178e

View file

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