Skip to content

Commit

Permalink
Restart/shutdown when settings are applied
Browse files Browse the repository at this point in the history
Summary: Shutdown flipper server whenever a restart is required.

Reviewed By: antonk52

Differential Revision: D49369884

fbshipit-source-id: 62d8aa9dd58408dc351617bb09df4509a819ab2f
  • Loading branch information
lblasa authored and facebook-github-bot committed Sep 18, 2023
1 parent 3605401 commit 0128ea0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions desktop/flipper-ui-browser/src/initializeRenderHost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,7 @@ export function initializeRenderHost(
);
},
restartFlipper() {
window.flipperShowMessage?.(
'Flipper settings have changed, please quit and wait for 30 seconds before re-launching for the changes to take effect',
);
flipperServer.exec('shutdown');
},
serverConfig: flipperServerConfig,
GK(gatekeeper) {
Expand Down

0 comments on commit 0128ea0

Please sign in to comment.