Fork me on GitHub
#lein-figwheel
<
2016-06-14
>
kauko06:06:50

Is there a way to cancel evaluation in fighweel's repl? ctrl+c and ctrl+d both close the whole thing

bhauman12:06:36

Javascript is single threaded, and right now the official clojurescript repl is implemented as a loop. But certainly more thought can be placed into this, ie. be able to cancel an evaluation and reload the browser. It would be nice to get a prompt back on interrupt.

bhauman13:06:52

@wilkerlucio: @grav I'm putting config/get-project-builds back, and note that the following is a nicer way to do what you are trying to do:

wilkerlucio15:06:01

@bhauman: are you planning to release any new version soon with get-project-builds?

bhauman15:06:34

hopefully within the next two hours

bhauman19:06:38

@wilkerlucio: @grav published 0.5.4-3 you may want to look at the docs on (start-figwheel!)

wilkerlucio19:06:35

nice, just started using it, thank you!

bhauman19:06:05

@wilkerlucio: you may want to explore that snippet above, you can probably call (start-figwheel! "build-id")

wilkerlucio19:06:35

@bhauman: yes, just did, my figwheel.clj now is just:

bhauman19:06:50

sweet!! yeah I wanted to make start-figwheel! fit the use case better

wilkerlucio19:06:23

I appreciate it, I guess that should be the most common case

harold22:06:20

lein figwheel in my project produces these warnings and I don't know where they're coming from:

WARNING: Unknown option ':compiler-env'.
WARNING: Unknown option ':special-fns'.
WARNING: Unknown option ':warn-on-undeclared'.
I have grep'd for those in my code but found nothing. Any hints? Everything is working great (as always w/ figwheel!🙂), but I still wonder.