December 2017
Intermediate to advanced
282 pages
5h 54m
English
We can use the Grunt build platform command, as follows, to build our hybrid mobile application with Grunt:
grunt build --platform={android|ios} [--buildConfig=path/buildConfig.json]
We can use the Grunt serve platform command to launch the hybrid mobile application in a browser, simulator, or mobile device for testing and debugging. The following is the syntax of this command:
grunt serve --platform=ios|android [--web=true --serverPort=server-port-number --livereloadPort=live-reload-port-number --destination=emulator-name|device --disableLiveReload=true]
The additional options for the Grunt serve command are as follows:
|
Sr.No |
Option |
Description |
|
1 |
platform |
Desired platform ... |
Read now
Unlock full access