Languages
[Edit]
DE

Angular 7 - das automatische Neuladen des Browsers deaktivieren

3 points
Created by:
Nikki
10520

Problem:

Wie deaktiviert man das automatische Neuladen in Angular 7?

 

Ich will das automatische Neuladen in der Angular 7-App stoppen. Wenn ich auch nur kleine Änderungen im Projekt vornehme, wird die gesamte Webseite neu geladen. Gibt es vielleicht eine Möglichkeit, es zu deaktivieren?

 

Lösung:

  1. package.json finden
  2. Nur eine Zeile ändern

VOR:

NACH:

     3. Den Server neustarten

     4. Und es funktioniert

 

package.json File sieht so aus:

VOR:

NACH:

Kontext:

https://github.com/angular/angular-cli/issues/1755

https://github.com/angular/angular-cli/issues/9742

1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join