Live data from Hacker News

Watchman: Execute a command when something changes

github.com

51–60 of 98 posts

Re: Watchman: Execute a command when something changes

#53
post #6

What does this add to inotifywait? That does exactly the same as this project, which uses inotifywait to reimplement inotifywait. For example: dnf install inotify-tools or apt-get install inotify-tools

It looks like a simple bash wrapper around inotifywait to provide a simpler interface for a subset of the functionality. You don’t have to remember any flags.

Not super useful, but not useless.

Re: Watchman: Execute a command when something changes

#56
post #3

Not to be confused with Facebook’s file watch daemon, also names watchman, which does the same sort of thing but is more complicated. There’s a bunch of tools that integrate Facebook’s watchman for more efficient change tracking. Advantages of Facebook’s watchman: 1. Implements efficient file system event watches on macOS and Windows 2. IPC/daemon system reduces resource use because overlapping watches/triggers don’t…

Also support for other OS's - like Windows.

Re: Watchman: Execute a command when something changes

#57
post #56
post #3

Not to be confused with Facebook’s file watch daemon, also names watchman, which does the same sort of thing but is more complicated. There’s a bunch of tools that integrate Facebook’s watchman for more efficient change tracking. Advantages of Facebook’s watchman: 1. Implements efficient file system event watches on macOS and Windows 2. IPC/daemon system reduces resource use because overlapping watches/triggers don’t…

Also support for other OS's - like Windows.

I have just used some Power Shell scripts for stuff like this in the past on Windows.

Re: Watchman: Execute a command when something changes

#58
post #3

Not to be confused with Facebook’s file watch daemon, also names watchman, which does the same sort of thing but is more complicated. There’s a bunch of tools that integrate Facebook’s watchman for more efficient change tracking. Advantages of Facebook’s watchman: 1. Implements efficient file system event watches on macOS and Windows 2. IPC/daemon system reduces resource use because overlapping watches/triggers don’t…

If you sign up for notifications on both github projects, you can watch the watchmen.

But then, who watches the watcher?
Post reply on HN