You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
/cc @bluenote10 @dom96 @snowlt23
the readme.md doesn't contain much so was wondering:
related packages
[1] https://github.com/snowlt23/nimwatch
readme says windows (win32api) and linux (inotify);
osx and freebsd are marked as TODO
[2] https://github.com/idlewan/nim-fswatch
(this one)
[3]
lib/packages/fsmonitor.nim
from nim stdlib https://github.com/nim-lang/Nim/blob/27b081d1f77604ee47c886e69dbc52f53ea3741f/lib/packages/fsmonitor.nimonly works on linux (via inotify) and seems deprecated
in D
there's this: https://code.dlang.org/packages/fswatch
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
The text was updated successfully, but these errors were encountered: