NativeScript / NativeScript/nativescript-cli

Incremental changes not work

未關閉
#5,426 1 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
JavaScript
星號
1.1k
分支
204
平均合併
1 天 9 小時
30 天內合併 PR
8

描述

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?

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

未指定原始檔案或測試。以回報的 NativeScript 版本和 tns doctor 輸出作為背景資訊,重現 webpack 增量編譯記錄中的單次儲存和重複儲存情況;當 JavaScript、XML 和 CSS 中的變更在儲存一次後無需重新啟動應用程式即可套用時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript, webpack
領域
build-system, cli
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。