cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shazron <>
Subject Re: [CLI] Default target when not specified for "build", "compile"?
Date Tue, 03 Mar 2015 23:02:55 GMT
Currently `cordova run` on iOS defaults to emulator as well, like the
compile/build commands.

It's probably safe to say we never specified what happens when no
target is specified (thus right now the behaviour is not consistent
for all platforms) -- and this is a new "feature request".

On Tue, Mar 3, 2015 at 2:50 PM, Michal Mocny <> wrote:
> Imho, it should do what: "cordova run" would do.
> I would think it would run once for each platform, defaulting to device if
> attached.
> On Tue, Mar 3, 2015 at 4:37 PM, Shazron <> wrote:
>> What is the expected behaviour here?
>> `cordova build`
>> My expectation is that it would build for both device and emulator. In
>> iOS pre-3.8.0 it does, but now it only builds for emulator only after
>> the node.js script port, which may or may not be a bug depending on
>> consensus.
>> The online docs and cli docs do not give any clue regarding this.
>> What do other platforms experience?
>> The problem with building for both device and emulator is your build
>> times now approximately double.
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message