4 ms·
I use https://watchexec.github.io/ https://watchexec.github.io/ for this, which looks similar. Anyone who tried both and knows which one is better?
by skrebbel 5y ago
I use https://watchexec.github.io/ https://watchexec.github.io/ for this, which looks similar. Anyone who tried both and knows which one is better?
- benatkin 5y agoentr is written in C, watchexec is written in Rust. There's another one that I've used that is written in go: https://github.com/cespare/reflex https://github.com/cespare/reflex I am inclined to use watchexec next time I need one, because like go, I can read it more easily than c, but also because I looked at the web page and GitHub repo and it seems worth trying. For instance, it shows how to use it as a library instead of just as a command-line tool. https://watchexec.github.io/ https://watchexec.github.io/
- sinkensabe 5y agoI love watchexec! Really fast when doing TDD
- kzrdude 5y agowatchexec is a lot better at watching directories. entr deals with (existing files) best.