Skip to content

Commit 2cdea4e

Browse files
committed
chore(NA): avoid unnecessary server watches on md and test.tsx files
1 parent dfb4c33 commit 2cdea4e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cli/cluster/cluster_manager.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ 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$/,
263264
...pluginInternalDirsIgnore,
264265
fromRoot('src/legacy/server/sass/__tmp__'),
265266
fromRoot('x-pack/legacy/plugins/reporting/.chromium'),

0 commit comments

Comments
 (0)