summaryrefslogtreecommitdiff
path: root/cli/modules.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-03-28 16:05:41 -0400
committerGitHub <noreply@github.com>2019-03-28 16:05:41 -0400
commitc25e262b04c15d4de7107cc131de467882e7dcec (patch)
treea5e2fd2ba73f9f8881d0ea9166c36958747b6f49 /cli/modules.rs
parent51abcd614731bdb47a79f9f0c0fed81ddb7a474a (diff)
Merge the --recompile and --reload flags (#2003)
Diffstat (limited to 'cli/modules.rs')
-rw-r--r--cli/modules.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/modules.rs b/cli/modules.rs
index 908c31b6d..6de76b8fe 100644
--- a/cli/modules.rs
+++ b/cli/modules.rs
@@ -88,7 +88,8 @@ impl Modules {
}
pub fn print_file_info(&self, deno_dir: &DenoDir, filename: String) {
- let maybe_out = deno_dir.fetch_module_meta_data(&filename, ".");
+ // TODO Note the --reload flag is ignored here.
+ let maybe_out = deno_dir.fetch_module_meta_data(&filename, ".", true);
if maybe_out.is_err() {
println!("{}", maybe_out.unwrap_err());
return;