Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lein figwheel is taking too long #52

Open
jeongsoolee09 opened this issue Jan 8, 2022 · 0 comments
Open

lein figwheel is taking too long #52

jeongsoolee09 opened this issue Jan 8, 2022 · 0 comments

Comments

@jeongsoolee09
Copy link

jeongsoolee09 commented Jan 8, 2022

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?

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

No branches or pull requests

1 participant