Skip to content

Ability to use custom URL during Cordova/Capacitor livereload #3652

Description

@imhoffd

Right now the ionic cordova run, ionic cordova emulate, and ionic cap run run a livereload server and write its URL to the config files for Cordova and Capacitor.

There's a limitation with these commands, however, as it is not possible to configure serve options via separated args as with ionic serve, e.g. ionic serve -- --extraArg, because all separated args are forwarded to the Cordova/Capacitor CLI.

To allow for this, the run/emulate commands should accept a custom URL to a livereload server so that one could use ionic serve -- --extraArg and then ionic cordova run --url http://localhost:8100, for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    capacitorIonic projects integrated with CapacitorcordovaIonic projects integrated with Cordovaenhancement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions