Why is leiningen so slow when it starts?

前端 未结 5 1271
余生分开走
余生分开走 2021-02-13 14:34

I\'m using lein repl to execute clojure repl in console. When I run it, it takes over 15 seconds. When I run java -cp clojure-1.6.0.jar clo

5条回答
  •  余生分开走
    2021-02-13 15:27

    If you run lein repl from within a project directory, it will load your project's source files in addition to starting a repl. Even for a small project, this can add significant time if your source files reference external dependencies.

    java -cp clojure-1.6.0.jar clojure.main won't load any project source files or dependencies.

提交回复
热议问题