Skip to content

Commit

Permalink
Prevents reporting font update from triggering restart
Browse files Browse the repository at this point in the history
This file appears to be touched regularly on Linux (WSL2) triggering a
server restart.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
  • Loading branch information
Tyler Smalley committed Jul 31, 2020
1 parent a216418 commit 3ad7036
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cli/cluster/cluster_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,9 @@ export class ClusterManager {
fromRoot('x-pack/plugins/security_solution/scripts'),
fromRoot('x-pack/plugins/security_solution/server/lib/detection_engine/scripts'),
'plugins/java_languageserver',
fromRoot(
'x-pack/plugins/reporting/server/export_types/printable_pdf/lib/pdf/assets/fonts/roboto/Roboto-Regular.ttf'
),
];

this.watcher = chokidar.watch(watchPaths, {
Expand Down

0 comments on commit 3ad7036

Please sign in to comment.