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 摘要。