NativeScript / NativeScript/nativescript-cli

Incremental changes not work

Open
#5,426 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce the single-save and repeated-save cases from the webpack incremental compilation log, using the reported NativeScript versions and tns doctor output as context; done means changes in JavaScript, XML, and CSS apply after one save without an app restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.