ionic-team / ionic-team/ionic-cli

ionic cap copy --no-build --watch not working

未關閉
#4,752 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
triage
主要語言
TypeScript
星號
2k
分支
682
PR 合併指標
30 天內沒有已合併 PR

描述

`ionic cap copy --no-build --watch`
expected behavior keep running and copy files to ios, android, web at file change
actual runs once

before I need to develop for ios I just run this command and open native ide
`ionic capacitor run ios -l --external`
so after file change I just

1. need to click run app button in xcode

but now I'm adding feature to connect to iot WiFi Access Point therefore
I can't use `ionic capacitor run ios -l --external` cause it need my ios device to be connected to the same network as my computer to work properly and get livereloads

So after every file change I need to

1. run `ionic build --watch` for file changes
2. then after every change manually run `ionic cap copy --no-build --watch` (--watch not working as expected run once)
3. then in xcode run app button

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。