Skip to content

fix(cli): Don't overwrite config.server section with --live-reload#7528

Merged
OS-pedrogustavobilro merged 6 commits intoionic-team:mainfrom
ZeroDX255:patch-1
Feb 26, 2026
Merged

fix(cli): Don't overwrite config.server section with --live-reload#7528
OS-pedrogustavobilro merged 6 commits intoionic-team:mainfrom
ZeroDX255:patch-1

Conversation

@ZeroDX255
Copy link
Contributor

@ZeroDX255 ZeroDX255 commented Jun 20, 2024

[Edit by @OS-pedrogustavobilro] Fixes #8352. Partially addresses #8303 (this one requires additional PRs)

@OS-pedrogustavobilro OS-pedrogustavobilro self-assigned this Feb 23, 2026
@OS-pedrogustavobilro OS-pedrogustavobilro changed the title fix(livereload): Don't overwrite the whole config.server section in editCapConfigForLiveReload function fix(cli): Don't overwrite the whole config.server section with --live-reload Feb 23, 2026
@OS-pedrogustavobilro OS-pedrogustavobilro changed the title fix(cli): Don't overwrite the whole config.server section with --live-reload fix(cli): Don't overwrite config.server section with --live-reload Feb 23, 2026
@OS-pedrogustavobilro OS-pedrogustavobilro requested a review from a team February 23, 2026 15:52
Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change is in editExtConfigForLiveReload, which is unused, should be done in editCapConfigForLiveReload

@OS-pedrogustavobilro
Copy link
Contributor

Oh you're right, my bad, I had tested changing manually instead of going to the fork. Good catch!

@OS-pedrogustavobilro OS-pedrogustavobilro merged commit 782b9d9 into ionic-team:main Feb 26, 2026
6 checks passed
tossaro pushed a commit to tossaro/capacitor that referenced this pull request Feb 26, 2026
…onic-team#7528)

Co-authored-by: Pedro Bilro <pedro.gustavo.bilro@outsystems.com>
Co-authored-by: jcesarmobile <jcesarmobile@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: editCapConfigForLiveReload destructively replaces server object, stripping existing config fields

3 participants