ionic-team / ionic-team/ionic-cli

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

Open
#4,752 1 comment 0 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
2k
Forks
682
PR merge metrics
No merged PRs in 30d

Description

`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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.