fix(misc): dep graph should not remove deps

This commit is contained in:
vsavkin 2021-07-04 20:06:38 -04:00
parent 9ad0995e9c
commit c17fb12ee6

View File

@ -507,6 +507,7 @@ function createFileWatcher(root: string, changeHandler: () => void) {
function createDepGraphClientResponse(): DepGraphClientResponse { function createDepGraphClientResponse(): DepGraphClientResponse {
performance.mark('dep graph watch calculation:start'); performance.mark('dep graph watch calculation:start');
defaultFileHasher.clear(); defaultFileHasher.clear();
defaultFileHasher.init();
let graph = onlyWorkspaceProjects(createProjectGraph()); let graph = onlyWorkspaceProjects(createProjectGraph());
performance.mark('dep graph watch calculation:end'); performance.mark('dep graph watch calculation:end');