Indexing in multiple instances

Hi,

I'm running multiple instances of WebStorm, each having a different project open, and I noticed that removing the node_modules in one instance (and reinstalling via npm/yarn) triggers an index operation in all other WebStorm instances that I have open as well. Is this the expected behaviour? If not, should I raise a bug about this?

Thanks.

0
7 comments

No, this is not expected. Do you run npm i in the system terminal, built-in terminal, or? Do your projects share files/folders?
A screen recording of the issue would be helpful

0

I run `npm i` in a terminal opened in one of the WebStorm instances. The projects do not share files/folders and they're located in different sibling folders with the one I'm doing `npm i` for. 

0

Please share a screen recording of the issue

0

Sorry, I don't see an option to upload a recording here unfortunately. 

0

Please try uploading it to some file server and share a link here

0

https://easyupload.io/xyu9dv

It can be seen that as soon as the node_modules from one instance is removed, the rest are starting to do an index and the indexing continues during the installing of the modules.

LE: the 3 instances are completely separate folders and do not share any file/folder with each other

0

can't reproduce

I can see that the indexing is started as soon as you enter yarn in terminal... But this doesn't normally happen until you switch the focus from/to the IDE, it only starts synchronizing with external changes on gaining the focus...

0

Please sign in to leave a comment.