Re: How to use file system watcher (fsmonitor) in Nim?

2020-04-24 Thread dom96
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.

Re: How to use file system watcher (fsmonitor) in Nim?

2020-04-24 Thread timothee
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)

Re: How to use file system watcher (fsmonitor) in Nim?

2019-09-15 Thread federico3
Fswatch supports Linux, most BSDs, OSX and Windows [http://emcrisostomo.github.io/fswatch](http://emcrisostomo.github.io/fswatch)/

Re: How to use file system watcher (fsmonitor) in Nim?

2019-09-13 Thread treeform
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.

Re: How to use file system watcher (fsmonitor) in Nim?

2019-09-11 Thread Vindaar
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 February, since I

How to use file system watcher (fsmonitor) in Nim?

2019-09-11 Thread jiyinyiyong
I want to watch files changes too. Do we have a better solution now? I want to run on OS X.

Re: FSMonitor

2017-09-12 Thread federico3
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.

Re: FSMonitor

2017-09-12 Thread mashingan
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

Re: FSMonitor

2017-09-11 Thread bluenote
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

Re: FSMonitor

2017-09-11 Thread Araq
`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.

FSMonitor

2017-09-10 Thread rifabio
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 soon and be moved