summaryrefslogtreecommitdiff
path: root/cli/proc_state.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2023-03-26 10:24:10 +0100
committerGitHub <noreply@github.com>2023-03-26 12:24:10 +0300
commitb4c61c146a50dea0c4a53d8d505a4308ea7da279 (patch)
tree230268db099dee2f709b6a0a5dee506a04e24096 /cli/proc_state.rs
parent8b596cbae1392f17c9642c085b006bed6692dcdb (diff)
fix(cli): don't store blob and data urls in the module cache (#18261)
Diffstat (limited to 'cli/proc_state.rs')
-rw-r--r--cli/proc_state.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/proc_state.rs b/cli/proc_state.rs
index 45f3bed5f..529b66070 100644
--- a/cli/proc_state.rs
+++ b/cli/proc_state.rs
@@ -136,6 +136,7 @@ impl ProcState {
/// Reset all runtime state to its default. This should be used on file
/// watcher restarts.
pub fn reset_for_file_watcher(&mut self) {
+ self.blob_store.clear();
self.0 = Arc::new(Inner {
dir: self.dir.clone(),
options: self.options.clone(),