NativeScript / NativeScript/nativescript-cli

Incremental changes not work

Offen
#5,426 1 Kommentar 4 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
JavaScript
Sterne
1.1k
Forks
204
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
8

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Es wird keine Quelldatei oder kein Test genannt. Reproduziere die Fälle für einmaliges und wiederholtes Speichern aus dem webpack-Log der inkrementellen Kompilierung und verwende dabei die gemeldeten NativeScript-Versionen sowie die Ausgabe von tns doctor als Kontext; als erledigt gilt die Aufgabe, wenn Änderungen in JavaScript, XML und CSS nach einem Speichern ohne Neustart der App angewendet werden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, webpack
Bereich
build-system, cli
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.