Provide live-reload functionality
See original GitHub issueLike ionic cordova run ios -l
, but for Capacitor!
📝 Set appUrl
in capacitor.config.json
for live-reload: https://github.com/ionic-team/capacitor/issues/366 & https://github.com/ionic-team/capacitor/commit/9b89f096e8eca1f7ef761c4f1cc3be2e7c16ab9b
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Live Reload | Ionic Documentation
One option that can boost productivity when building Ionic apps is Live Reload (or live-reload). When active, Live Reload will reload the browser...
Read more >Live Reload All the Things: Ionic CLI's Latest Features
The LiveReload functionality is similar to Ionic Serve, but instead of developing and debugging an app using a standard browser, ...
Read more >Chapter 5. LiveReload Tools - JBoss.org
LiveReload Tools is tooling that implements LiveReload in the IDE. It enables you to take advantage of LiveReload browser refreshing while editing files...
Read more >Live Reload | Capacitor Documentation
Live Reload is useful for debugging both the web portion of an app as well as native functionality on device hardware or simulators....
Read more >@shankardevy - How LiveReload works behind the scene
Phoenix LiveReload as this feature is called is made possible by using Phoenix Channels, a built-in feature in Phoenix framework. Yes, this is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In the meantime here is the description we wrote for our project on how to use live-reload:
ionic serve
capacitor.config.json
cap sync ios
and tehncap open ios
Server config for capacitor:
Hopefully it helps someone while we are waiting for awesome cli support.
Thanks @HoverBaum! Those are the exact steps we hope to automate. I was working on this yesterday but ran into some issues with Capacitor misidentifying ios/android as web due to the livereload server. Hoping to resolve this shortly!