removed warnings

This commit is contained in:
2023-03-12 21:24:26 +01:00
parent f0007394c3
commit a1c1458a61

View File

@@ -1,20 +1,18 @@
use colored::Colorize; use colored::Colorize;
use live_server::listen; use live_server::listen;
use notify::{ use notify::{
event::{self, ModifyKind}, event::ModifyKind,
Config, Event, EventKind, RecommendedWatcher, RecursiveMode, Watcher, Config, Event, EventKind, RecommendedWatcher, RecursiveMode, Watcher,
}; };
use std::{env, path::Path}; use std::{env, path::Path};
use tokio::sync::mpsc::{channel, Receiver}; use tokio::sync::mpsc::{channel, Receiver};
use crate::app::{ use crate::app::builder::{
builder::{
asciidoctor::{AsciiDoctorDocsBuilder, AsciiDoctorSlideBuilder}, asciidoctor::{AsciiDoctorDocsBuilder, AsciiDoctorSlideBuilder},
Builder, Builder,
},
fs_util,
}; };
pub async fn serve() { pub async fn serve() {
tokio::join!(watch_and_build(), start_server()); tokio::join!(watch_and_build(), start_server());