nicoburns / blessed-rs

A community guide to the Rust ecosystem
https://blessed.rs
1.33k stars 77 forks source link

Notify and watchexec #13

Closed passcod closed 2 years ago

passcod commented 2 years ago

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.

nicoburns commented 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.

solomatov commented 2 years ago

@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.

solomatov commented 2 years ago

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