Skip to content

Commit b1e8b37

Browse files
committed
docs
1 parent fcf9d52 commit b1e8b37

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

docs/cli.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,18 @@ Passes commands straight to cordova, without interference.
8585

8686
#### Examples
8787
+ `ember cordova platform add ios`
88+
89+
##Setting default Platform
90+
91+
If you are only ever building for one platform, you can set a default
92+
in config.environment.js.
93+
94+
This is handy if the defaults don't work out for you, e.g. you are
95+
only shipping for Android.
96+
97+
in config/environment.js:
98+
```
99+
cordova: {
100+
platform: 'android'
101+
}
102+
```

docs/livereload.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@ or ios) and any options accepted by Ember serve.
2929
## Advanced Configuration
3030

3131
There are times you may find yourself wanting to enable live-reload
32-
from a remote host and port, or to customize a local url.
32+
from a remote host and port, or to customize a local url because we are
33+
not detecting it correctly.
3334

3435
## Customize the device live-reload url
3536

3637
In all cases below, `<url>` refers to the full url including protocol,
37-
host, and port.
38+
host, and port, e.g. http://localhost:4200
3839

3940
*via commandline arg*
4041

@@ -48,11 +49,13 @@ or
4849
ember cdv:s -r "<url>"
4950
```
5051

51-
*via .ember-cli*
52+
*via config/environment.js*
5253

5354
```json
5455
{
55-
deviceLiveReloadUrl: "<url>"
56+
cordova: {
57+
reloadUrl: "<url>"
58+
}
5659
}
5760
```
5861

0 commit comments

Comments
 (0)