Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Warmup is too slow #477

Open
Kronuz opened this issue Jun 18, 2018 · 1 comment
Open

Warmup is too slow #477

Kronuz opened this issue Jun 18, 2018 · 1 comment

Comments

@Kronuz
Copy link

Kronuz commented Jun 18, 2018

The server works fine once it's started and it has warmed up... however, that warmup takes from 20-30 seconds here... I get some "Found package file://..." messages from the server, and then it loads plugins and after that it all starts working.

Is there a way we can accelerate that "warmup" process? as I don't have completions or hover information until it ends "finding packages". Maybe those found packages could be cached and then do another "find" in the background afterwards when the server is already working for the client?

@keyboardDrummer
Copy link
Contributor

keyboardDrummer commented Jun 19, 2018

This issue is caused by the server scanning all files in the rootUri and only making them available to the Typescript back-end after the file has been scanned. The root cause is the same as for this issue: #471

I'm working on a PR for resolving this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants