Open
Description
I had a @types/lodash package installed that caused errors, then switched branch to one with a previous version and did yarn install.
at 07:08:21 the yarn command had finished and the editor showed errors (e.g. was still using the old version of node_modules)
I started raising this bug and seemingly without interaction at 07:11:01 the errors disappeared (the extension noticed that node_modules had been updated and used the latest version)
I've seen this behaviour when switching branches and running yarn before so I think it should be easily reproducible. In the past I just restarted the extension whenever running yarn install.
I am using the classic mode of yarn where files are copied into node_modules - no linking.
The logs looked like this:
Info 142 [07:08:21.025] createGlobMapper took 80.1279ms to create 11 globs for 153405 failed lookups
Info 143 [07:08:21.025] createGlobMapper took 0s to create 6 globs for 349 failed lookups
Info 144 [07:08:21.025] Finishing updateGraph: Project: c:/Projects/x/y/src/frontend/tsconfig.json version: 5 in 1.3436852s
Info 145 [07:11:01.206] Starting updateGraph: Project: c:/Projects/x/y/src/frontend/tsconfig.json
Info 146 [07:11:01.206] Program 6 used 3 checker(s)
Info 147 [07:11:01.206] Starting updateGraph: Project: c:/Projects/x/y/src/toolkit/tsconfig.json
Info 148 [07:11:01.206] Program 6 used 2 checker(s)
Info 149 [07:11:01.206] Starting updateGraph: Project: c:/Projects/x/y/src/ui/tsconfig.json
Info 150 [07:11:01.206] Program 4 used 2 checker(s)
Info 151 [07:11:01.334]