removed warnings
This commit is contained in:
@@ -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());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user