Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

300
Visualizações
VSCode TypeScript intellisense takes forever to load remotely

Every time I connect to Remote Linux Server via VSCode, there's a notification popping up - Initializing JS/TS language features. The relevant extension to this is probably "TypeScript and JavaScript Language Features". I think I would probably need this extension for intellisense to work properly (unless if any of y'all can suggest any other alternatives).

It takes forever. (It's almost instant if I run VSCode locally)

I think the issue lies on having FileWatcher and DirectoryWatcher taking forever to load for big files/folders such as node_modules.

I would like to exclude node_modules properly. This is what I have tried to implement in ./.vscode/settings.json:

{
    "files.watcherExclude": {
        "/**/node_modules/*/**": true,
        "/**/node_modules": true,
        "/home/abc/a/**": true,
        "/home/abc/b/node_modules": true,
        "/home/abc/b/node_modules/*/**": true
    }
}

But according to tsserver.log:

Info 111  [10:34:23.652] DirectoryWatcher:: Added:: WatchInfo: /home/abc/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache

VSCode is still watching node_modules and it takes decades for the next lines to appear...

After 10 minutes:

Info 112  [11:16:39.533] Elapsed:: 675488.8780369759ms DirectoryWatcher:: Added:: WatchInfo: /home/abc/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache

What's the approach to properly disabling FileWatcher and DirectoryWatcher for node_modules?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda