Remove web dependency on VfsSession and friends, use Instant for timing instead

This commit is contained in:
Lucien Greathouse 2018-04-05 13:13:04 -07:00
parent 20ccb2b0c4
commit 1d84c8013e
2 changed files with 6 additions and 7 deletions

View file

@ -1,6 +1,6 @@
use std::path::{Path, PathBuf};
use std::process;
use std::sync::{Arc, Mutex};
use std::time::Instant;
use rand;
@ -87,5 +87,5 @@ pub fn serve(project_path: &PathBuf, verbose: bool, port: Option<u64>) {
println!("Server listening on port {}", web_config.port);
web::start(web_config, project.clone(), &PLUGIN_CHAIN, vfs.clone());
web::start(web_config, project.clone(), Instant::now());
}