You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 7, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 7, 2026. It is now read-only.
@alan-agius4 Sorry for delay, looks like problem in webpack, because hash of compilation is the same, so dev server doesn't reload page, I have two workarounds, but want to verify it is valid fixes, I will return to this today/tomorrow (waiting answer)
@alan-agius4@Mylogin-info bug in webpack-dev-server, we can't fix it here webpack/webpack-dev-server#3794, updated an issue and put your example, copy-webapck-plugin does right job here, dev server doesn't respect hash changed
Force those who are looking for a workaround,
I used the package "@angular-builders/custom-webpack": "^14.1.0" that allows to use an extra webpack config, and in this file:
Activity
alexander-akait commentedon Mar 4, 2022
Can you reproduce it using 5.69.0?
alexander-akait commentedon Mar 4, 2022
Because we have https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/src/index.js#L331
alan-agius4 commentedon Mar 4, 2022
I did try that and I still didn't work. I also tried older version like 5.10 and it still didn't work.
alexander-akait commentedon Mar 4, 2022
Maybe related to MacOS...
alan-agius4 commentedon Mar 4, 2022
I asked the user that original reported the issue originally in angular/angular-cli#22751 to provide more about their system.
Did live reload work for you when you tried the reproduction?
alexander-akait commentedon Mar 4, 2022
@alan-agius4 I haven't tried it yet, I've set it to my tasks, I can look tomorrow, just ask more information as possible
alan-agius4 commentedon Mar 4, 2022
Looks like the user that reported the issue is also using Mac. angular/angular-cli#22751 (comment)
alexander-akait commentedon Mar 6, 2022
@alan-agius4 Sorry for delay, looks like problem in webpack, because hash of compilation is the same, so dev server doesn't reload page, I have two workarounds, but want to verify it is valid fixes, I will return to this today/tomorrow (waiting answer)
alan-agius4 commentedon Mar 6, 2022
Thanks @alexander-akait!
alan-agius4 commentedon Jun 3, 2022
Gentle reminder @alexander-akait
alexander-akait commentedon Jun 3, 2022
@alan-agius4 oh, sorry, missed that, put in my TODO for tomorrow
OttoDoorenbos commentedon Jun 7, 2022
@alexander-akait
Same issue on Windows. Angular 14.
[webpack-dev-server] App updated. Recompiling...
[webpack-dev-server] Nothing changed.
Change in files in the app folder and globel scss files are detected. Change in files in the assets folder are not detected.
alexander-akait commentedon Jun 7, 2022
@alan-agius4 @Mylogin-info bug in webpack-dev-server, we can't fix it here webpack/webpack-dev-server#3794, updated an issue and put your example, copy-webapck-plugin does right job here, dev server doesn't respect hash changed
alan-agius4 commentedon Jun 9, 2022
@alexander-akait, thanks let's continue tracking this in webpack/webpack-dev-server#3794
Trirandom commentedon Apr 26, 2023
Same issue on Windows. Angular 14.
[webpack-dev-server] App updated. Recompiling...
[webpack-dev-server] Nothing changed.
Force those who are looking for a workaround,
I used the package "@angular-builders/custom-webpack": "^14.1.0" that allows to use an extra webpack config, and in this file:
This solved my issue, hope it helps.