Skip to content

Commit

Permalink
chore(NA): ignore server watch for md and test.tsx files (#64797) (#6…
Browse files Browse the repository at this point in the history
…4947)

* chore(NA): avoid unnecessary server watches on md and test.tsx files

* chore(NA): include debug log files
  • Loading branch information
mistic authored Apr 30, 2020
1 parent 66844f5 commit 4bb4534
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cli/cluster/cluster_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,9 @@ export class ClusterManager {

const ignorePaths = [
/[\\\/](\..*|node_modules|bower_components|target|public|__[a-z0-9_]+__|coverage)([\\\/]|$)/,
/\.test\.(js|ts)$/,
/\.test\.(js|tsx?)$/,
/\.md$/,
/debug\.log$/,
...pluginInternalDirsIgnore,
fromRoot('src/legacy/server/sass/__tmp__'),
fromRoot('x-pack/legacy/plugins/reporting/.chromium'),
Expand Down

0 comments on commit 4bb4534

Please sign in to comment.