diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2023-02-03 19:15:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-03 20:15:16 +0100 |
commit | a635c9700c0b99c3ad128c21727fdcfb23bad72f (patch) | |
tree | b31e457547346bd979df45579ca62186ee6027f2 /cli/cache/node.rs | |
parent | b16a958c4f01a1d27d14a6a1d8785c54449a5087 (diff) |
refactor: reland "preserve ProcState::file_fetcher between restarts" (#17636)
Just some watcher init step that I thought would be "cloned over" but
needs to be done again on reset.
Diffstat (limited to 'cli/cache/node.rs')
-rw-r--r-- | cli/cache/node.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/cache/node.rs b/cli/cache/node.rs index da17633aa..b19772229 100644 --- a/cli/cache/node.rs +++ b/cli/cache/node.rs @@ -24,6 +24,7 @@ struct CjsAnalysisData { pub reexports: Vec<String>, } +#[derive(Clone)] pub struct NodeAnalysisCache { db_file_path: Option<PathBuf>, inner: Arc<Mutex<Option<Option<NodeAnalysisCacheInner>>>>, |