Skip to content

Commit 1707d30

Browse files
sammy-SCmeta-codesync[bot]
authored andcommitted
stop standalone Devtools from starting in Fantom (#55713)
Summary: Pull Request resolved: #55713 changelog: [internal] when running Fantom on Mac, I frequently see this error. This is DevTools standalone app crashing. Let's disable DevTools standalone app, it is not needed with tests anyway. {F1985865132} Reviewed By: huntie Differential Revision: D94092247 fbshipit-source-id: 440e4482102b2f4152eb63c04023b01867250213
1 parent ca9d81b commit 1707d30

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

private/react-native-fantom/runner/global-setup/globalSetup.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ async function startMetroServer() {
5353
websocketEndpoints: debuggerWebsocketEndpoints,
5454
} = createDevMiddleware({
5555
serverBaseUrl: `http://localhost:${metroConfig.server.port}`,
56+
// Disable standalone DevTools shell preparation to avoid launching the
57+
// Electron app during tests. This prevents crashes.
58+
unstable_experiments: {
59+
enableStandaloneFuseboxShell: false,
60+
},
5661
});
5762

5863
const enhanceMiddleware: ConfigT['server']['enhanceMiddleware'] = (

0 commit comments

Comments
 (0)