What does HackerNews think of watchexec?
Executes commands in response to file modifications
Language:
Rust
Also not to be confused with watchexec (my tool of choice for executing commands on file changes):
Very happy user of https://github.com/watchexec/watchexec (rust), can recommend.
I’ve been a happy user of watchexec[0] for the past few months but Entr seems cool.
There is also `watchexec` [1]. However I don't know how it compares to `entr` or other inotify clients.
Obviously there's lots of candidates here. I've recently switched from entr or fswatch to watchexec [0], because it can restart a server, so something like this gets me where I need to be:
watchexec -cr "make && my-server"
[0] https://github.com/watchexec/watchexecAnother great tool that I use everyday is watchexec - https://github.com/watchexec/watchexec.
Similar tool that I currently use: https://github.com/watchexec/watchexec
The pipeline approach here is interesting, but it seems you'd be on your own for filtering out changes in the build directory, etc. I typically use watchexec [1] for this.
watchexec make
By default, watchexec will filter out changes in files based on `.gitignore`.