@alexander-akait Thanks for the feedback!
I have completely removed the staticOptions and setup the directory for my static files. I also removed wds + src watch content base (old) option. After that, all edited twig files triggers a new compilation, but still no browser reload. With hot: false, it works, weird 🤔
Then I have set the watchFiles option to ['src/**/*.twig'] with hot: true: it works!
Every file change trigger a compilation and browser reload.
Is that configuration looks fine to you or should I share my private repo with you for further check?
Thanks a lot mate 😉
Originally posted by @xavierfoucrier in #2758 (comment)
ref: webpack/copy-webpack-plugin#674
@alexander-akait Thanks for the feedback!
I have completely removed the
staticOptionsand setup thedirectoryfor my static files. I also removedwds+srcwatch content base (old) option. After that, all edited twig files triggers a new compilation, but still no browser reload. Withhot: false, it works, weird 🤔Then I have set the
watchFilesoption to['src/**/*.twig']withhot: true: it works!Every file change trigger a compilation and browser reload.
Is that configuration looks fine to you or should I share my private repo with you for further check?
Thanks a lot mate 😉
Originally posted by @xavierfoucrier in #2758 (comment)
ref: webpack/copy-webpack-plugin#674