Giter Site home page Giter Site logo

Comments (15)

alexander-akait avatar alexander-akait commented on June 7, 2024 2

@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.

alexander-akait avatar alexander-akait commented on June 7, 2024 2

@alan-agius4 oh, sorry, missed that, put in my TODO for tomorrow

from copy-webpack-plugin.

alexander-akait avatar alexander-akait commented on June 7, 2024 1

@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.

alan-agius4 avatar alan-agius4 commented on June 7, 2024 1

Looks like the user that reported the issue is also using Mac. angular/angular-cli#22751 (comment)

from copy-webpack-plugin.

alan-agius4 avatar alan-agius4 commented on June 7, 2024 1

@alexander-akait, thanks let's continue tracking this in webpack/webpack-dev-server#3794

from copy-webpack-plugin.

alexander-akait avatar alexander-akait commented on June 7, 2024

Can you reproduce it using 5.69.0?

from copy-webpack-plugin.

alexander-akait avatar alexander-akait commented on June 7, 2024

Because we have https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/src/index.js#L331

from copy-webpack-plugin.

alan-agius4 avatar alan-agius4 commented on June 7, 2024

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.

alexander-akait avatar alexander-akait commented on June 7, 2024

Maybe related to MacOS...

from copy-webpack-plugin.

alan-agius4 avatar alan-agius4 commented on June 7, 2024

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.

alan-agius4 avatar alan-agius4 commented on June 7, 2024

Thanks @alexander-akait!

from copy-webpack-plugin.

alan-agius4 avatar alan-agius4 commented on June 7, 2024

Gentle reminder @alexander-akait

from copy-webpack-plugin.

Mylogin-info avatar Mylogin-info commented on June 7, 2024

@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.

image

from copy-webpack-plugin.

alexander-akait avatar alexander-akait commented on June 7, 2024

@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.

Trirandom avatar Trirandom commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.