mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
stop standalone Devtools from starting in Fantom (#55713)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/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
This commit is contained in:
1 parent
ca9d81bddc
commit
1707d30025
1 file changed
+5
@@ -53,6 +53,11 @@ async function startMetroServer() {
|
||||
websocketEndpoints: debuggerWebsocketEndpoints,
|
||||
} = createDevMiddleware({
|
||||
serverBaseUrl: `http://localhost:${metroConfig.server.port}`,
|
||||
// Disable standalone DevTools shell preparation to avoid launching the
|
||||
// Electron app during tests. This prevents crashes.
|
||||
unstable_experiments: {
|
||||
enableStandaloneFuseboxShell: false,
|
||||
},
|
||||
});
|
||||
|
||||
const enhanceMiddleware: ConfigT['server']['enhanceMiddleware'] = (
|
||||
|
||||
Reference in new issue
Block a user