This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-27
Channels
- # announcements (10)
- # bangalore-clj (1)
- # beginners (130)
- # calva (8)
- # cider (66)
- # circleci (2)
- # clojure (197)
- # clojure-europe (2)
- # clojure-italy (8)
- # clojure-nl (5)
- # clojure-spec (14)
- # clojure-uk (35)
- # clojurescript (46)
- # code-reviews (5)
- # cursive (4)
- # datomic (88)
- # duct (1)
- # emacs (2)
- # figwheel-main (15)
- # fulcro (20)
- # graalvm (1)
- # graphql (3)
- # jackdaw (2)
- # leiningen (2)
- # off-topic (64)
- # pathom (53)
- # re-frame (52)
- # reagent (12)
- # reitit (43)
- # rewrite-clj (1)
- # shadow-cljs (38)
- # spacemacs (3)
- # sql (17)
- # tools-deps (6)
- # vim (30)
How can I pause figwheel from watching? I would like to use the repl-env for a bit of RDD, and then switch back to figwheel auto-watching and compiling. Right now I stop my editor from automatically saving, which I don’t like.
I tried (figwheel.main.watching/remove-watch! [:figwheel.main.api/autobuild build-id])
and my JVM ran out of heapspace, for some reason.
@danie take a look at this: https://github.com/bhauman/figwheel-main/blob/master/src/figwheel/main.cljc#L135
you've got the key name wrong, it should be :figwheel.main/autobuild
, instead of the :figwheel.main.api/autobuild
and instead of build-id
it should be sth like "dev". You can investigate by checkout out figwheel.main.watching/*watcher*
to see the correct id.
the fact that JVM ran out of heapspace, means there is a bug in figwheel.main.watching
, and should be investigated.
I think https://figwheel.org/docs/scripting_api.html#repl-api-usage works from the repl
@dominicm I’ve been down that path, and ultimately, start
means to “watch and recompile”, which is what I want to suspend, sometimes.
That does this:
[Figwheel] Stopping the Figwheel server
[Figwheel] Remove all repl listeners
… and then I can eval from the REPL anymore 😕