Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comparison: fsmonitor, nimwatch, nim-fswatch #1

Open
timotheecour opened this issue Oct 11, 2018 · 1 comment
Open

comparison: fsmonitor, nimwatch, nim-fswatch #1

timotheecour opened this issue Oct 11, 2018 · 1 comment

Comments

@timotheecour
Copy link

timotheecour commented Oct 11, 2018

/cc @bluenote10 @dom96 @snowlt23

the readme.md doesn't contain much so was wondering:

  • how does this compare to related packages?
  • does this work on OSX? linux? windows?
  • is this still maintained?
  • is that appropriate for use case as mentioned here:

related packages

in D

there's this: https://code.dlang.org/packages/fswatch

Platform Watching Directory Watching File
Windows ReadDirectoryChangesW (very fast, accurate) polling using std.file.timeLastModified and std.file.exists (fast, not accurate for quick write)
Linux inotify (very fast, accurate) inotify (very fast, accurate)
Other polling using std.file.dirEntries (slow, not accurate) polling using std.file.timeLastModified and std.file.exists (fast, not accurate for quick write)

note

was about to recommend Nim in this post https://forum.dlang.org/thread/igsegyczboysopismnft@forum.dlang.org (Can i watch folders/files for changes with D language?) (he was looking for a viable language with cross platform gui + file monitoring) but lack of file monitoring seems a blocker for that

@timotheecour
Copy link
Author

=> moving discussion to this new repo which seems to be maintained and works on OSX: paul-nameless/nim-fswatch#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant