To pass additional options to the dev server, consider using Just like with ionic cordova build, you can pass additional options to the Cordova CLI using the
In some scenarios, you may need to host the dev server on an external address using the When using -livereload with hardware devices, remember that livereload needs an active connection between device and computer. You can list targets withįor Android and iOS, you can setup Remote Debugging on your device with browser development tools using these If you have multiple devices and emulators, you can target a specific one with the
To use Cordova for this process instead, use the Native-run utility is used to run your app on a device. This command will first use ionic build to build web assets (orĬordova build is used to compile and prepare your app. Ionic serve for livereload functionality. livereload option to use the dev server from Build your app and deploy it to devices and emulators using this command.