mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
attempt #1
This commit is contained in:
parent
a232b4011a
commit
80df077746
2 changed files with 7 additions and 1 deletions
|
@ -210,4 +210,8 @@ impl CacheMetadata {
|
|||
self.cache = http_cache::HttpCache::new(location);
|
||||
self.metadata.lock().clear();
|
||||
}
|
||||
|
||||
pub fn clear_metadata(&self) {
|
||||
self.metadata.lock().clear();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2816,7 +2816,9 @@ impl Inner {
|
|||
|
||||
// now that we have dependencies loaded, we need to re-analyze them and
|
||||
// invalidate some diagnostics
|
||||
self.diagnostics_server.invalidate(&[referrer]);
|
||||
// self.diagnostics_server.invalidate(&[referrer]);
|
||||
self.diagnostics_server.invalidate_all();
|
||||
self.cache_metadata.clear_metadata();
|
||||
self.send_diagnostics_update();
|
||||
self.send_testing_update();
|
||||
|
||||
|
|
Loading…
Reference in a new issue