Revert "fix(watch): preserve ProcState::file_fetcher between restarts (#15466) (#17591)

This reverts commit 3545bff678.
This commit is contained in:
Bartek Iwańczuk 2023-01-30 16:22:17 +01:00 committed by GitHub
parent 3035dee9f1
commit d318e38b76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 43 additions and 127 deletions

View file

@ -67,14 +67,6 @@ impl ParsedSourceCache {
}
}
pub fn reset_for_file_watcher(&self) -> Self {
Self {
db_cache_path: self.db_cache_path.clone(),
cli_version: self.cli_version.clone(),
sources: Default::default(),
}
}
pub fn get_parsed_source_from_module(
&self,
module: &deno_graph::Module,