Skip to content
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

--watch-ignore should include by default the ignored patterns #189

Open
SrBrahma opened this issue Feb 13, 2023 · 0 comments
Open

--watch-ignore should include by default the ignored patterns #189

SrBrahma opened this issue Feb 13, 2023 · 0 comments

Comments

@SrBrahma
Copy link

SrBrahma commented Feb 13, 2023

Environment

  • Node Version: 16.8.1
  • Eslint-Watch Version: 8.0.0
  • Eslint Version: 8.28.0
  • OS: Windows 11

Basic Description of the problem

By running pnpm cross-env DEBUG=esw:* pnpm esw --watch --ext ts,tsx ., it shows that patterns that should be ignored (in .eslintignore or eslintrc's ignorePattern) are being watched (.next, storybook-static, public, other stuff...). Files with different extensions are also being watched, such as .js, .png...

I found this because my -w is not working (it says SKIPPING the changed file) so I tried this DEBUG env.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant