Skip to content
Discussion options

You must be logged in to vote

Since live reload generally works over Wi-Fi and the address of your computer is determined by your router, not the Ionic CLI or Capacitor CLI, this isn't something we can support as a configuration option.

However, for Android you could set up port forwarding with adb (making sure your device is plugged into your computer first):

adb reverse tcp:8100 tcp:8100

It's important to change 8100 to whichever port is being used, if necessary.

Then, with the Ionic CLI, drop the --external flag which should serve your app on localhost.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@kavyantic
Comment options

Answer selected by jwburnside
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
Category
Q&A
Labels
None yet
4 participants