You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the latest changes to the Braid system start, I can no longer reliably start it within Emacs/Cider.
Firstly, figwheel fails to compile cljs:
Failed to compile build :desktop-dev from ["src/braid" "src/retouch"] in 2.911 seconds.
---- Could not Analyze target/classes/braid/core/modules_dummy.cljs ----
Could not locate braid/core/module_helpers__init.class or braid/core/module_helpers.clj on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.
---- Analysis Error : Please see target/classes/braid/core/modules_dummy.cljs ----
I'm unable to find that file or the gen-module-requires macro anywhere in the project.
Could it be that the module_helpers.cljs was forgotten on master?
Secondly, the change has an unfortunate effect of working against how Cider like to have the repls started. When I run cider-jack-in-clojurescript it starts lein repl and lein figwheel separately with piggieback and other dependencies injected that are compatible with other nrepl middleware(nrepl-refactor for example).
Cider provides cider-clojurescript-connect function, but I would need to add the right dependencies in the project itself.
The figwheel compile issue may be stale files. Try nuking target and the js files. 'rm -rf target' and 'rm -rf resources/public/js'
To not start figwheel via the start! function, you can create a new helper function 'start-without-figwheel' that works similarly to the one in braid.core
With the latest changes to the Braid system start, I can no longer reliably start it within Emacs/Cider.
Firstly, figwheel fails to compile cljs:
I'm unable to find that file or the
gen-module-requires
macro anywhere in the project.Could it be that the module_helpers.cljs was forgotten on master?
Secondly, the change has an unfortunate effect of working against how Cider like to have the repls started. When I run
cider-jack-in-clojurescript
it startslein repl
andlein figwheel
separately withpiggieback
and other dependencies injected that are compatible with other nrepl middleware(nrepl-refactor
for example).Cider provides
cider-clojurescript-connect
function, but I would need to add the right dependencies in the project itself.Was it done to simplify the setup process in IDEs like Cursive? I understand that not everyone is using Emacs; the docs here https://github.com/braidchat/braid/blob/master/docs/dev/getting-up-and-running-in-development.md do need to be updated though(the Emacs portion).
The text was updated successfully, but these errors were encountered: