Additionally this PR also supports multi-platform builds to avoid cross platform build issues.
Write a growing/shrinking channel to be able to absorb filesystem notify events even when they come in large numbers.