Simon B.
Simon B.

Reputation: 51

Live reload stopped working after Angular 8 update

After upgrading Angular from 7 to 8, the live reload stopped working. Everything went well during the update and I have no compilation errors or anything. Watch is also working as expected.

I tried with & without the --live-reload option. I tried with node version 10 & 12, same result. I tried to follow the steps from this answer and this answer, same result.

Angular CLI: 8.3.2
Node: 10.16.3
OS: darwin x64
Angular: 8.2.4
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.801.3
@angular-devkit/build-angular      0.801.3
@angular-devkit/build-optimizer    0.801.3
@angular-devkit/build-webpack      0.801.3
@angular-devkit/core               8.1.3
@angular-devkit/schematics         8.3.2 (cli-only)
@angular/cdk                       8.1.4
@angular/cli                       8.3.2 (cli-only)
@angular/material                  8.1.4
@angular/material-moment-adapter   8.1.4
@angular/pwa                       0.801.3
@ngtools/webpack                   8.1.3
@schematics/angular                8.3.2 (cli-only)
@schematics/update                 0.803.2 (cli-only)
rxjs                               6.5.2
typescript                         3.4.5
webpack                            4.35.2

I am also using Nx version 8.4.13

Upvotes: 0

Views: 2347

Answers (1)

Simon B.
Simon B.

Reputation: 51

In the end, aligning @angular libraries versions and a cleanup (rm -rf node_modules package-lock.json) fixed my issue!

Thanks a lot every body!

Upvotes: 1

Related Questions