Shwift has a concise API, which makes writing shell code nice and easy. This is an opinionated decision.
inotify exposes a /proc interface to limit kernel memory usage. If those limits are set too low, inotify cannot add all watches. The integration test verifies, that Inotify yields an error in that case.