ionic-team / ionic-team/ionic-cli
Revert removal of `--no-open` flag to `ionic cap run`.
- 主要語言
- TypeScript
- 星號
- 2k
- 分支
- 682
- PR 合併指標
- 30 天內沒有已合併 PR
描述
The capacitor 3 support added to the CLI changed the behavior of `ionic cap run`. It now does one of two things to "launch" the native project:
- Deploy it directly to a target emulator (either with the `--target` flag or interactively)
- Run `cap open` to open the native project
However, I would like it to do neither of these things. My previous workflow used the `--no-open` flag to use `ionic cap run` to simply manage the angular build server and the syncing of the `capacitor.config.json`, and then I manually executed the native part of the build process (which is necessary for my project, as it has many different schemes/flavors to build). I would like to request that this workflow continue to be supported. The currently available `--open` flag is less than ideal, because it will spawn a new Android Studio process every time it's executed.
Thanks for all your hard work on this project!
貢獻指南
研究方向
Start by locating the Ionic CLI handling for `ionic cap run`, including the existing `--open` behavior. Restore a `--no-open` workflow that manages the Angular build server and Capacitor configuration syncing without deploying to an emulator or opening the native project.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- typescript
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100