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.
Environment
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.