I'm writing a vscode extension, and I want to watch specific file changes in node_modules
according to the extensions's configuration, but I don't want user to change their default files.watcherExclude
. What should I do?
For example, considering vscode's native typescript language feature, when I change a .d.ts
file in node_modules
, the ts-server can detect that and provide the latest intellisense. How does ts-server watch file changes in node_modules
?