Skip to content

Feature request: launch emulators from tns run #3009

Open
@tjvantoll

Description

@tjvantoll

My typical NativeScript workflow is to launch emulators for development using either tns run ios or tns run android. Since version 3.1.3, the {N} CLI now supports running tns run to deploy to multiple devices, which is awesome... but there’s no way for that command to launch emulators like tns run ios and tns run android do.

I need to manually start iOS simulators from Xcode, and Android AVDs from Android Studio, and then execute tns run to get the workflow I’m looking for. This isn’t horrible, but I’m wondering if we can make this common workflow a little less tedious.

I don’t think tns run should open emulators by default, but maybe we could introduce some new flags.

tns run --launch-ios-emulator --launch-android-emulator

Thoughts on this? Other ideas for how tns run could launch emulators?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions