Skip to main content

subscribe

Function subscribe 

Source
pub fn subscribe() -> Receiver<PathBuf>
Expand description

Subscribe to config change notifications.

Returns a receiver that fires whenever a watched config file changes. The receiver yields the path of the changed file.