I have been experimenting with creating a VsCode Extension using typescript and I encountered an issue while trying to track all the activities using events. Specifically, I set up listeners for when a file is opened so that an event is triggered and the file name is written to the console. However, this setup does not work when I open another instance of vscode using the File->New Window
option.
Could someone please explain why this behavior is occurring?