mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44672 Swaps out and simplifies the internals of the debugger launch flow. We observed that we could achieve better launch/windowing behaviour by passing the `--app` argument directly to the detected Chrome path. This shares the user's default Chrome profile: - Fixes unwanted behaviour such as a separate dock icon on macOS (which, when clicked, would launch an unwanted empty window). - Enables settings persistence. This change also removes the `LaunchedBrowser.kill` API. Changelog: [Internal] Reviewed By: hoxyq Differential Revision: D57726649 fbshipit-source-id: fc3a715dc852a50559048d1d1c378f64aeb2013f
21 lines
613 B
JavaScript
21 lines
613 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow strict-local
|
|
* @format
|
|
* @oncall react_native
|
|
*/
|
|
|
|
export {default as createDevMiddleware} from './createDevMiddleware';
|
|
|
|
export type {BrowserLauncher} from './types/BrowserLauncher';
|
|
export type {EventReporter, ReportableEvent} from './types/EventReporter';
|
|
export type {
|
|
CustomMessageHandler,
|
|
CustomMessageHandlerConnection,
|
|
CreateCustomMessageHandlerFn,
|
|
} from './inspector-proxy/CustomMessageHandler';
|