Skip to content

Commit

Permalink
[Platform][Security] Updates cluster_manager ignorePaths to include s…
Browse files Browse the repository at this point in the history
…ecurity scripts (#70139) (#70276)

## Summary

Updates the cluster_manager `ignorePaths` to include security related script directories so that the server doesn't restart when modifying scripts like below... 🙂 

<p align="center">
  <img width="600" src="https://user-images.githubusercontent.com/2946766/85908688-4dd4de00-b7d3-11ea-9e64-38729a5cb63f.png" />
</p>
  • Loading branch information
spong authored Jun 30, 2020
1 parent 8bf0e89 commit fd47408
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cli/cluster/cluster_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,11 @@ export class ClusterManager {
fromRoot('x-pack/plugins/apm/e2e'),
fromRoot('x-pack/plugins/apm/scripts'),
fromRoot('x-pack/plugins/canvas/canvas_plugin_src'), // prevents server from restarting twice for Canvas plugin changes,
fromRoot('x-pack/plugins/case/server/scripts'),
fromRoot('x-pack/plugins/lists/scripts'),
fromRoot('x-pack/plugins/lists/server/scripts'),
fromRoot('x-pack/plugins/security_solution/scripts'),
fromRoot('x-pack/plugins/security_solution/server/lib/detection_engine/scripts'),
'plugins/java_languageserver',
];

Expand Down

0 comments on commit fd47408

Please sign in to comment.