-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed as duplicate
Description
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 6.1.2
@capacitor/core: 6.1.2
@capacitor/android: 6.1.2
@capacitor/ios: 6.1.2
Installed Dependencies:
@capacitor/android: 6.1.2
@capacitor/core: 6.1.2
@capacitor/cli: 6.1.2
@capacitor/ios: 6.1.2
Other API Details
npm 10.5.0
node v18.20.2Platforms Affected
- iOS
- Android
- Web
Current Behavior
It was reported here that live-reload has a hardcoded scheme and it still seems to be the case on main:
https://github.com/ionic-team/capacitor/blob/main/cli/src/util/livereload.ts#L172
Why does the API of this command exposes --scheme if we cannot connect to a localhost served with --ssl?
https://capacitorjs.com/docs/cli/commands/run
Expected Behavior
To be able to run ng serve --ssl and connect to it via --live-reload --scheme=https.
Project Reproduction
https://github.com/matheo/capacitor-live-reload-bug
Additional Information
No response
Metadata
Metadata
Assignees
Labels
No labels