nicoburns / blessed-rs

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

Notify and watchexec #13

Closed passcod closed 1 year ago

passcod commented 1 year 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 1 year 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 1 year 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 1 year 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