[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 a06d5c7fa0
commit f0ae48b640

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);