Skip to content

[Packager] Only a single simulator gets LiveReload/HMR connections in Xcode 9 #14334

Closed
@orta

Description

@orta

Description

Installed the Xcode9-beta simulator, opened up my app in two different devices and hit save.

screen shot 2017-06-06 at 09 15 10

You can see it happening in this tweet: https://twitter.com/orta/status/872002403930968064

Reproduction Steps and Sample Code

List all the steps required to reproduce the issue you're reporting. These steps should be clear and concise.

  • The beta can be downloaded from https://developer.apple.com/xcode
  • If you run your app from the Xcode project, you can run it twice by changing the device type in this device switcher

screen shot 2017-06-06 at 09 20 24

Once you have two simulators running, whichever simulator you hit cmd +r on last is the one that receives notifications about the module changes.

Solution

Ideally React Native Packager would support multiple connections.

Additional Information

  • React Native version: 0.45
  • Platform: iOS
  • Development Operating System: macOS
  • Dev tools: Xcode 9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions