ionic-team / ionic-team/ionic-framework
bug: Live reload not working using Angular 19.1.1
- Ngôn ngữ chính
- TypeScript
- Star
- 52.7k
- Fork
- 13.3k
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 51
Mô tả
### Prerequisites
- [x] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#creating-an-issue).
- [x] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [x] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.
### Ionic Framework Version
v8.x
### Current Behavior
When using Ionic and Angular, during ionic serve, changes on the code does not trigger live reload. Also, some instances render white page removing all elements on save.
### Expected Behavior
Page should reload upon code change automatically
### Steps to Reproduce
1. `ionic start my-app`
2. Choose Angular, standalone or NgModule
3. `ionic serve`
4. Change anything on the code
5. Save changes
### Code Reproduction URL
https://github.com/emnljs/no-live-reload
### Ionic Info
Ionic:
Ionic CLI : 7.2.0 (/Users/digitechdept/.nvm/versions/node/v20.17.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 8.4.1
@angular-devkit/build-angular : 19.1.1
@angular-devkit/schematics : 19.1.1
@angular/cli : 19.1.1
@ionic/angular-toolkit : 12.1.1
Capacitor:
Capacitor CLI : 6.2.0
@capacitor/android : not installed
@capacitor/core : 6.2.0
@capacitor/ios : not installed
Utility:
cordova-res : 0.15.4
native-run : 2.0.1
System:
NodeJS : v20.17.0 (/Users/digitechdept/.nvm/versions/node/v20.17.0/bin/node)
npm : 10.8.2
OS : macOS Unknown
### Additional Information
_No response_
Hướng dẫn đóng góp
Hướng nghiên cứu
Start with the linked reproduction at https://github.com/emnljs/no-live-reload and reproduce the problem using `ionic start`, `ionic serve`, and Angular 19.1.1. Compare behavior for standalone and NgModule apps, including the reported white-page case. Done means saved code reliably triggers live reload without removing rendered elements.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- angular, typescript
- Lĩnh vực
- frontend, tooling
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 30/100