-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All modules are linted in watch mode after changing only a single file #75
Comments
Solving it now. =) |
My problem is a little different. In my project, there remains a lot of errors & warnings. I only want to lint what is saved by current user in his IDE. |
@WilkinWendy for this you can enable https://github.com/webpack-contrib/eslint-webpack-plugin#lintdirtymodulesonly |
I’ve tried it,but not work. |
|
In my project, the compilation seems to be triggered in a dead loop, when |
I‘ve worked out reason of this problem. |
Expected Behavior
Only lint modules that were rebuilt after changing a file.
Actual Behavior
Every module is linted after changing a file.
Code
How Do We Reproduce?
It seems there was a recent change to which hooks were used to lint the files. Before
succeedModule
was used which was only called with the rebuilt modules after a file change, but nowfinishModules
is used which passes every module in the compilation, so all files get linted.The text was updated successfully, but these errors were encountered: