rustywatch 0.1.7-beta.1

Live reloading for any programing languages
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub mod args;
pub mod logger;
pub mod watch;

use args::Args;
use log::error;
use std::error::Error;

pub async fn run(args: Args) -> Result<(), Box<dyn Error>> {
    if let Err(err) = watch::watch_dir(args).await {
        error!("Error watching directory: {:?}", err)
    }

    Ok(())
}