Skip to content

Commit

Permalink
chore(NA): exclude target folder from being watched by cluster manager (
Browse files Browse the repository at this point in the history
#64446) (#64584)

* chore(NA): exclude target folder from being watched by cluster manager

* chore(NA): fix watcher regex

* chore(NA): re-add separators to regex

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
mistic and elasticmachine committed Apr 28, 2020
1 parent 825ce2c commit 5b65769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/cluster/cluster_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ export class ClusterManager {
);

const ignorePaths = [
/[\\\/](\..*|node_modules|bower_components|public|__[a-z0-9_]+__|coverage)[\\\/]/,
/[\\\/](\..*|node_modules|bower_components|target|public|__[a-z0-9_]+__|coverage)([\\\/]|$)/,
/\.test\.(js|ts)$/,
...pluginInternalDirsIgnore,
fromRoot('src/legacy/server/sass/__tmp__'),
Expand Down

0 comments on commit 5b65769

Please sign in to comment.