ionic cordova emulate <platform>
Emulate an Ionic project on a simulator/emulator
Arguments
Name | Description |
---|
platform | The platform to run (e.g. android, ios) |
Options
Name | Description |
---|
--list | List all available targets |
--no-build | Do not invoke Ionic build |
--external | Host dev server on all network interfaces (i.e. --host=0.0.0.0) |
--host <host> | Use specific host for the dev server |
--port, -p <port> | Use specific port for the dev server |
--public-host <host> | The host used for the browser or web view |
--livereload, -l | Spin up dev server to live-reload www files |
--livereload-url <url> | Provide a custom URL to the dev server |
--debug | Mark as a debug build |
--release | Mark as a release build |
--device | Deploy build to a device |
--emulator | Deploy build to an emulator |
--buildConfig <file> | Use the specified build configuration |
--target <target> | Deploy build to a device (use --list to see all) |
--no-native-run | Do not use native-run to run the app; use Cordova instead |
--connect | Tie the running app to the process |
--json | Output targets in JSON |
--ssl | Use HTTPS for the dev serve |
--prod | Flag to use the production configuration |
--consolelogs | Print app console logs to the terminal |
--consolelogs-port <port> | Use specific port for console logs server |
--configuration, -c <conf> | Specify the configuration to use |
--source-map | Output source maps |
--buildconfig <file> | Use the specified build configuration |