[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 ddbebca13e
commit c34342f803

View file

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