Closed passcod closed 2 years ago
Yes, I hadn't realised this when I recommended watchexec
here. notify
has also since released its 5.0 version. I've updated the recommendation to notify
.
@passcod, @nicoburns Is it possible to keep watchexec as an option?
Concerning, why watchexec might be better. Notify has pretty rare license (CC0 + Artistic). Watchexec has Apache 2.0.
Actually, it looks like watchexec uses notify internally. Please, ignore my above comment.
https://github.com/watchexec/watchexec/blob/main/crates/lib/Cargo.toml#L37
Watchexec (the library) is extremely focused on, like, making watch tools. It's only used by a few things, because it has that very particular focus. Notify is the general purpose filesystem watching library. That's the part that's used by like, RA and mdBook and alacritty and all that.