Skip to content

rnx-bundle runs the metro Server without "watch:false" #2332

Open
@acoates-ms

Description

@acoates-ms

The command ends up either in @react-native-community/cli-plugin-metro buildBundleWithConfig or in @rnx-kit/metro-service calling new Server(config).

When doing a single bundle command it should use new Server(config, {watch:false}) to prevent the extra work of spinning up the jest-haste-map file watcher.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfeature: metroThis is related to Metro

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions