//! Live config reloader use super::*; use std::{ path::{ PathBuf, }, }; /// An event to be passed to `Context`. #[derive(Debug)] pub enum Event { } /// A watcher context, we hook specific `Context`s here, to be dispatched to on file change #[derive(Debug)] pub struct Oneesan { path: PathBuf, //TODO: Hooks } /// Start watching this path for changes of files pub fn watch(path: PathBuf) -> Oneesan { }