NativeScript / NativeScript/nativescript-cli

Incremental changes not work

Đang mở
#5,426 1 bình luận 4 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
JavaScript
Star
1.1k
Fork
204
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
8

Mô tả

Hi,

After upgrade to NS 7 incremental changes not work anymore.

1 - If I save file one time, webpack log File change detected. Starting incremental webpack compilation... but not apply on app
2 - If I save file many times, app restart and changes are apply

It is the same case with js, xml or css. I use NS Core pure js.

my tns doctor

No issues were detected.
✔ Your ANDROID_HOME environment variable is set and points to correct directory.
✔ Your adb from the Android SDK is correctly installed.
✔ The Android SDK is installed.
✔ A compatible Android SDK for compilation is found.
✔ Javac is installed and is configured properly.
✔ The Java Development Kit (JDK) is installed and is configured properly.
✔ Xcode is installed and is configured properly.
✔ xcodeproj is installed and is configured properly.
✔ CocoaPods are installed.
✔ CocoaPods update is not required.
✔ CocoaPods are configured properly.
✔ Your current CocoaPods version is newer than 1.0.0.
✔ Python installed and configured correctly.
✔ The Python 'six' package is found.
✔ Xcode version 12.1.0 satisfies minimum required version 10.
✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 7.0.10 and the latest available version is 7.0.11.
⚠ Update available for component @nativescript/core. Your current version is 7.0.11 and the latest available version is 7.0.12.
⚠ Update available for component @nativescript/ios. Your current version is 7.0.3 and the latest available version is 7.0.4.
⚠ Update available for component @nativescript/android. Your current version is 7.0.0 and the latest available version is 7.0.1.

Am I forgetting to set up something?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Không có tệp nguồn hoặc bài kiểm thử nào được nêu tên. Hãy tái hiện các trường hợp lưu một lần và lưu lặp lại từ log biên dịch gia tăng của webpack, sử dụng các phiên bản NativeScript được báo cáo và đầu ra của tns doctor làm ngữ cảnh; được xem là hoàn thành khi các thay đổi trong JavaScript, XML và CSS được áp dụng sau một lần lưu mà không cần khởi động lại ứng dụng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript, webpack
Lĩnh vực
build-system, cli
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
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.