clojure-lsp / lein-clojure-lsp

Lein plugin to run clojure-lsp API features for your project
MIT License
19 stars 5 forks source link

README: cache overview #4

Open vemv opened 2 years ago

vemv commented 2 years ago

One thing that isn't clear from the README is whether the plugin needs/creates a cache.

Is it all automatic? Does it possibly reuse a cache from an IDE? Does it possibly reuse a cache from previous lein-clojure-lsp runs?

ericdallo commented 2 years ago

Yes, this is not on lein-clojure-lsp, but on clojure-lsp itself, when it runs, it checks if the classpath has changed to know if it should re-use the cache or not. Even so, we only cache external deps, project analysis are not cached