mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 20:59:10 +00:00
Merge the --recompile and --reload flags (#2003)
This commit is contained in:
parent
51abcd6147
commit
c25e262b04
15 changed files with 188 additions and 194 deletions
|
|
@ -53,8 +53,7 @@ impl IsolateState {
|
|||
let custom_root = env::var("DENO_DIR").map(|s| s.into()).ok();
|
||||
|
||||
Self {
|
||||
dir: deno_dir::DenoDir::new(flags.reload, flags.recompile, custom_root)
|
||||
.unwrap(),
|
||||
dir: deno_dir::DenoDir::new(custom_root).unwrap(),
|
||||
argv: argv_rest,
|
||||
permissions: DenoPermissions::from_flags(&flags),
|
||||
flags,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue