Skip to content

Commit b93427b

Browse files
authored
chore(NA): ignore server watch for md and test.tsx files (#64797)
* chore(NA): avoid unnecessary server watches on md and test.tsx files * chore(NA): include debug log files
1 parent 8a30462 commit b93427b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/cli/cluster/cluster_manager.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,9 @@ export class ClusterManager {
259259

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

0 commit comments

Comments
 (0)