Skip to content
Discussion options

You must be logged in to vote

Live-reload is achieved with several tools working together. Capacitor does its part by offering a way to set the Web View URL (see the docs), but you need an actual server running your app. Many Framework CLIs offer this capability, but don't integrate with Capacitor. That's where the Ionic CLI can be helpful, because it offers ionic cap run <platform> --livereload (see the live-reload docs for Ionic).

cordova run <platform> doesn't quite get you all the way because you still need a dev server running, too. If you're asking for a way to build and deploy your app to a device in the terminal, Capacitor doesn't have that feature, but stay tuned... 😉

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by BerkeAras
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants