ionic-team / ionic-team/ionic-cli

bug: `ionic capacitor run android --livereload` is not rebuilding the app

未关闭
#4,126 13 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

_Original issue by @WesleyGoncalves on [2019-08-19T02:04:10Z](https://github.com/ionic-team/ionic/issues/19130)_

The app is not being updated in the Android device after I make changes to it. The live reload is not working.

The app only gets updated if I run `ng build`, then `ionic capacitor copy android` or `ionic capacitor run android -l`, and then run the app in Android Studio.

贡献指南

打开贡献指南

调研方向

Reproduce the issue with `ionic capacitor run android --livereload`, then compare the behavior with `ng build`, `ionic capacitor copy android`, and launching the app in Android Studio. Trace the `ionic capacitor run android` entry point and its live-reload workflow; done means Android updates after app changes without the manual build and copy steps.

由索引模型根据 Issue 内容生成。

评估

技术栈
android, typescript
领域
cli, mobile-dev
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。