Webpack not respecting "watchOptions.ignored"
ChrisSG opened this issue · comments
watchpack/lib/DirectoryWatcher.js
Line 80 in 0d5001d
@ChrisSG it is alpha version for webpack@5
, what is problem?
Sorry that was a really bad issue description..... Thank you for replying anyways!
I am using webpack 4.30. The implementation seems to be there. The correct line seems to be:
watchpack/lib/DirectoryWatcher.js
Line 61 in 8d839e8
The problem is that I am using WatchIgnorePlugin at the moment to achieve the effect that a directory is ignored when watching. I tried to implement this using the https://webpack.js.org/configuration/watch/#watchoptionsignored option but this did not work. Ther was literally no effect applying those to webpack and the devServer. But wathcing the source code I can't quite explain this at the momement.
Why is there a WatchIgnorePlugin and an option for the same usecase?
And Yes and No, can you create minimum reproducible test repo with description what is work and what is not work as you expected
this has been added