Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

App doesn’t use second packager #20

@haggholm

Description

@haggholm

I have this issue both with an internal app, and with the example app, after updating react-native.

git clone git@github.com:fabriciovergal/react-native-workers.git
cd react-native-workers/example
npm i && npm i react-native@0.46
# In separate terminals:
react-native start
react-native start --port 8082
react-native run-android

In no case does anything actually trigger the second packager: both index.android.js and index.worker.js are packaged by the first packager, listening on port 8081. This causes issues when I try to run the debugger: if I launch the Chrome debugger, there seems about a 50-50 chance that it will show the app bundle or the worker bundle, respectively.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions