Watchman: Execute a command when something changes
61–70 of 98 posts
Re: Watchman: Execute a command when something changes
#62I've seen about a dozen versions of this now. So my question is, who watches the watchmen?
Re: Watchman: Execute a command when something changes
#63Does anybody have a good "execute a command when nothing changes" tool? I have some situations where I'd like to take action if, say, a file hasn't had its mtime updated in 24 hours.
Re: Watchman: Execute a command when something changes
#64Does anybody have a good "execute a command when nothing changes" tool? I have some situations where I'd like to take action if, say, a file hasn't had its mtime updated in 24 hours.
find /foo/bar -type f -mtime +1 | xargs foobarRe: Watchman: Execute a command when something changes
#65Re: Watchman: Execute a command when something changes
#66For those use-cases I use entr ( https://github.com/clibs/entr ). In what sense does watchman differ to it? Didn't see anything related to this at first glance :-)
The page linked above says: > WARNING: This is a (possibly outdated and/or unmaintained) fork of https://github.com/eradman/entr .
Re: Watchman: Execute a command when something changes
#67Re: Watchman: Execute a command when something changes
#68Not 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…
Re: Watchman: Execute a command when something changes
#69Very happy user of https://github.com/watchexec/watchexec (rust), can recommend.
Re: Watchman: Execute a command when something changes
#70It recently reached 1 million downloads. The current maintainer, Alex Popov, is a very skilled developer working from Moscow.