webpack / watchpack

Wrapper library for directory and file watching.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack not respecting "watchOptions.ignored"

ChrisSG opened this issue · comments

// TODO options.ignored

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

ignored: options.ignored,

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