From e2f9b0e6fd01c4ad8d7fc966a531e48e5aaa334f Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 14 Aug 2018 16:50:53 -0400 Subject: First pass at HTTP imports Implement --reload Integrate hyper errors into DenoError In collaboration with Tommy Savaria --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 3dc905f20..28e852fdc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,6 +17,7 @@ mod errors; mod flags; mod fs; pub mod handlers; +mod net; mod version; use libc::c_void; @@ -48,7 +49,7 @@ impl Deno { let mut deno_box = Box::new(Deno { ptr: 0 as *const binding::DenoC, - dir: deno_dir::DenoDir::new(None).unwrap(), + dir: deno_dir::DenoDir::new(flags.reload, None).unwrap(), rt: tokio::runtime::current_thread::Runtime::new().unwrap(), timers: HashMap::new(), argv: argv_rest, -- cgit v1.2.3