Comments (15)
@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)
from copy-webpack-plugin.
@alan-agius4 oh, sorry, missed that, put in my TODO for tomorrow
from copy-webpack-plugin.
@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
from copy-webpack-plugin.
Looks like the user that reported the issue is also using Mac. angular/angular-cli#22751 (comment)
from copy-webpack-plugin.
@alexander-akait, thanks let's continue tracking this in webpack/webpack-dev-server#3794
from copy-webpack-plugin.
Can you reproduce it using 5.69.0?
from copy-webpack-plugin.
Because we have https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/src/index.js#L331
from copy-webpack-plugin.
I did try that and I still didn't work. I also tried older version like 5.10 and it still didn't work.
from copy-webpack-plugin.
Maybe related to MacOS...
from copy-webpack-plugin.
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?
from copy-webpack-plugin.
Thanks @alexander-akait!
from copy-webpack-plugin.
Gentle reminder @alexander-akait
from copy-webpack-plugin.
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.
from copy-webpack-plugin.
@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
from copy-webpack-plugin.
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:
module.exports = {
devServer: {
watchFiles: ["src/**/*"],
},
};
This solved my issue, hope it helps.
from copy-webpack-plugin.
Related Issues (20)
- Getting security issues in underlying tar library HOT 1
- node version no right and no warn HOT 2
- Plugin causes build failure on netlify HOT 1
- Use the latest version to set the info field The file is still packed and compressed HOT 2
- `HookWebpackError: WebAssembly.instantiate(): Out of memory: wasm memory` in version 10.2.4 when nested in a `osc` build pipeline HOT 2
- globOptions.ignore not work expected HOT 22
- Copy files from "src/*.jpg" to "dist/" root. HOT 5
- HookWebpackError: Must use import to load ES Module HOT 3
- copy file permissions HOT 3
- Cache directory can't be configured HOT 7
- Who would use this to make nuxt2 use cesium 1.111.0? HOT 1
- Cannot use a folder named `node_modules` for the `to` path HOT 2
- Lack of useful use case HOT 2
- Resolve Snyk vulnerability warning on 9th Jan from 'serialize-javascript' package HOT 2
- ERROR in directoryPaths.map is not a function with v12.x HOT 5
- The new asyncMemoize function should memoize the original promise HOT 4
- (BROKEN ON MACOS) Binary files lose executable permissions after copy. HOT 5
- HookWebpackError: Unexpected token '??=' HOT 1
- getCache is not a function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from copy-webpack-plugin.