yuanchuan / node-watch

A wrapper and enhancements for fs.watch

Home Page:https://npm.im/node-watch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Got ENOSPC error? Read here.

dzek69 opened this issue · comments

If you get ENOSPC error, but you actually have free disk space - it means that your OS watcher limit is too low and you probably want to recursively watch a big tree of files.

Follow this description to increase the limit:
https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit

@yuanchuan my suggestion would be to notice this somewhere in README to avoid confusion.

We avoid the issue with watching recursive directories by creating an inbox folder and when files arrive there, we move them.