Closed oshilaRightS closed 1 year ago
Duplicate of https://github.com/angular/angular/issues/47455
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
hi, I am using Angular 16. Recently we faced this issue. The issue is, when we save even a slight change in the code, it result to refresh the web app for 10-20s (like 20-30 times refreshing during that time). I am not sure this have any connection with the web broswer (as earlier it only happened to Chrome, and I was able to work without any issue on Firefox), but after a update Chrome also started to work. But now
Version 116.0.5845.180 (Official Build) (64-bit)
updated yesterday and since then, loop started. and even in Firefox as well now. I am not exactly sure what is causing this issue, but defiantly not a code effect.this is some logs from Firefox.
[webpack-dev-server] App updated. Reloading... polyfills.js:6314:28 [webpack-dev-server] Disconnected! polyfills.js:6314:28 [webpack-dev-server] Trying to reconnect... polyfills.js:6314:28 [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled. polyfills.js:6314:28 This page uses the non standard property "zoom". Consider using calc() in the relevant property values, or using "transform" along with "transform-origin: 0 0". games [webpack-dev-server] App updated. Reloading... polyfills.js:6314:28 Navigated to http://localhost:4200/games Failed to load 'http://localhost:4200/vendor.js'. A ServiceWorker intercepted the request and encountered an unexpected error. ngsw-worker.js:1278:12 Loading failed for the module with source "http://localhost:4200/vendor.js". games:117:215 [webpack-dev-server] Disconnected! polyfills.js:6314:28 [webpack-dev-server] Trying to reconnect... polyfills.js:6314:28 [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled. polyfills.js:6314:28 This page uses the non standard property "zoom". Consider using calc() in the relevant property values, or using "transform" along with "transform-origin: 0 0". games Navigated to http://localhost:4200/games [webpack-dev-server] App updated. Reloading...
and this is some logs from Chrome,
[webpack-dev-server] App updated. Recompiling... index.js:485 [webpack-dev-server] App updated. Reloading... Navigated to http://localhost:4200/games polyfills.js:1 [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled. Angular is running in development mode. Service Worker registered with scope: http://localhost:4200/ [webpack-dev-server] App updated. Reloading... [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled. [webpack-dev-server] App updated. Reloading... polyfills.js:1 [webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled. 2Navigated to http://localhost:4200/games
Different kind of logs, but same result.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response