eslint-watch icon indicating copy to clipboard operation
eslint-watch copied to clipboard

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

Open ftzi opened this issue 3 years ago • 0 comments

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.

ftzi avatar Feb 13 '23 12:02 ftzi