dis-moi / extension

:speech_balloon: Never browse alone again
https://www.dismoi.io/
Other
42 stars 11 forks source link

fork-ts-checker-webpack-plugin watch entire world (including node_modules) #893

Open lutangar opened 3 years ago

lutangar commented 3 years ago

Describe the bug fork-ts-checker-webpack-plugin watch entier world (including node_modules).

Proc usage goes crazy, and result in chokidar errors:

@gregoirelacoste could you past an example of the errors we're getting here please?

see https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/516

To Reproduce

yarn storybook

Desktop (please complete the following information):

Additional context

gregoirelacoste commented 3 years ago

example:

Error from chokidar (/home/gregoire/dev/dismoi/dismoi-extension/src/app/background/sagas/lib): Error: ENOSPC: System limit for number of file watchers reached, watch '/home/gregoire/dev/dismoi/dismoi-extension/src/app/background/sagas/lib'
Error from chokidar (/home/gregoire/dev/dismoi/dismoi-extension/src/app/background/sagas/ratings): Error: ENOSPC: System limit for number of file watchers reached, watch '/home/gregoire/dev/dismoi/dismoi-extension/src/app/background/sagas/ratings'

same message for every folders in the project...

gregoirelacoste commented 3 years ago

@JalilArfaoui @lutangar chokidar problem solved for me. It had to come from my webstorm config... I followed this: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit

maybe it can help