Depends on an external dylib though, would be nice to have a native Nim
implementation, it shouldn't be hard to implement either, someone just needs to
commit some time.
finally found a nim package that works on OSX, see also a comparison:
[https://github.com/paul-nameless/nim-fswatch/issues/1](https://github.com/paul-nameless/nim-fswatch/issues/1)
Fswatch supports Linux, most BSDs, OSX and Windows
[http://emcrisostomo.github.io/fswatch](http://emcrisostomo.github.io/fswatch)/
Cross-platform filesystem event monitor for Nim. Does it do Windows and Mac?
Those are my two main systems. I can try fixing it to work there.
Apparently there's now a wrapper for libfswatch:
[https://github.com/FedericoCeratto/nim-fswatch](https://github.com/FedericoCeratto/nim-fswatch)
While no help to you, maybe it's interesting for someone else reading this. I
ported over fsmonitor to modern asyncdispatch in Februar
I want to watch files changes too. Do we have a better solution now? I want to
run on OS X.
I'm using fsmonitor in
[https://github.com/FedericoCeratto/nim-testrunner](https://github.com/FedericoCeratto/nim-testrunner)/
and I'll be happy to support other OSes if fsmonitor did so.
There's native fs monitor in Windows using win32 API. This is example of using
it
[https://msdn.microsoft.com/en-us/library/windows/desktop/aa365261(v=vs.85).aspx](https://msdn.microsoft.com/en-us/library/windows/desktop/aa365261\(v=vs.85\).aspx)
This is exactly coded from that example
[https:/
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`/`~r
`fsmonitor` is still in `lib/packages` so add that to your `--path`, this is
not machine specific (but maybe your config is). fsmonitor is Linux specific
and that's why it shouldn't be in the standard library.
Hi to all,
I've been using fsmonitor in a small project from a while. Today I tryed to
build the file using it in another machine, but failed because nimble can't
find fsmonitor package. I know about the warning in module's doc:
**Warning**: This module will likely disappear so
11 matches
Mail list logo