Live data from Hacker News

Watchman: Execute a command when something changes

github.com

91–98 of 98 posts

Re: Watchman: Execute a command when something changes

#91

Earlier quoted context omitted.

Also not to be confused with watchdog and it's command watchmedo, which is what I thought this was when I first read the headline. I don't know what the differences are, but I use watchdog to restart my local celery workers when I make changes. It's scripted out so I don't ever use the command directly. https://pypi.org/project/watchdog/ https://github.com/gorakhargosh/watchdog EDIT: Now I'm wondering how often I mis…

Also not to be confused with watchexec (my tool of choice for executing commands on file changes): https://github.com/watchexec/watchexec

Not to be confused with the Watchmen; the comic :)

Re: Watchman: Execute a command when something changes

#95
Hello everyone, I am the author of this project. Not sure what generated interest in this.

This was a project I did for my personal use case. But I haven't been using it since years. I'd recommend [entr](https://github.com/clibs/entr) for the use case watchman was to serve.

Re: Watchman: Execute a command when something changes

#97

this project hasn't had a commit in 8 years and only has a handful of stars. It confusingly shares the name with a much more popular tool from Meta—though the use case is slightly different. There are other much more popular tools that do the same thing, like entr, watchexec, and nodemon. Why is this posted?

In my defense, I didn't know about Facebook's watchman then (did it even exist?). `watchman` sounded like an appropriate name to me for the task this script was for.

I had not intention about gaining from folks accidentally landing on my project. Apologies if people felt mislead. I have no idea why this was suddenly posted on Hacker News yesterday.

Post reply on HN