figwheel-template
figwheel-template copied to clipboard
`lein figwheel` is taking too long
My system config is:
- M1 MBA 2020 8GB (Monterey 12.1)
- ClojureScript 1.10.773
- Clojure 1.10.1058
- Oracle Java 11.0.8
Creating a project with lein new figwheel project_name
, and calling lein figwheel
at project_name
takes too long. I haven't measured the exact time it takes, but it's taking more than 15 minutes before the REPL prompt appears.
The console log is:
Figwheel: Cutting some fruit, just a sec ...
Figwheel: Validating the configuration found in project.clj
Figwheel: Configuration Valid ;)
Figwheel: Starting server at http://0.0.0.0:3449
Figwheel: Watching build - dev
Compiling build :dev to "resources/public/js/compiled/pics_with_slider.js" from ["src"]...
Successfully compiled build :dev to "resources/public/js/compiled/pics_with_slider.js" in 0.687 seconds.
Figwheel: Starting CSS Watcher for paths ["resources/public/css"]
Launching ClojureScript REPL for build: dev
Figwheel Controls:
(stop-autobuild) ;; stops Figwheel autobuilder
...
where pics_with_slider
is my project name. The compilation process itself less than a second, but something is thrashing behind the scenes. Figwheel: Cutting some fruit, just a sec...
is where the process is mostly stuck.
Could you help debugging this issue?