I wish we could go down the other route and make `fsmonitor` cross-platform by abstracting away the inotify stuff. The reason why having it in the standard library could be beneficial: One of the things I'm missing the most compared to Scala development is SBT's `~compile`/`~run`/`~test` functionality, which allows to easily set-up source code watchers and re-run the compiler (and optionally arbitrary entry points or tests) whenever the source code changes.
If the functionality gets pushed into third party libraries it will be even more difficult to integrate such functionality by default into Nim's build approaches. I currently always fall back to hacky/non-cross-platform bash+inotify or even nodejs based watchers, and it would be much nicer if source code watching could become standard nimscript functionality. I have it on my todo list to look into that, but I'm not sure when I can get to work on it. Wasn't there a thread asking for some beginner challenges, maybe that would work?
