作为一名初学Clojure的人,我可能需要一些帮助来理解是否有解决使用Cider REPL时遇到的痛点的方法。
背景: 我有一个全栈应用程序(后端使用Limunius + 前端使用re-agent/figwheel)。 我从Emacs/Cider REPL启动服务器,并可以从该REPL访问正在运行的服务器的所有命名空间(非常方便)。
在另一个选项卡中,我运行:
所有cljs命名空间都可以从这个figwheel REPL/tab访问,但它未连接到Cider/emacs,所以我只能复制和粘贴。
背景: 我有一个全栈应用程序(后端使用Limunius + 前端使用re-agent/figwheel)。 我从Emacs/Cider REPL启动服务器,并可以从该REPL访问正在运行的服务器的所有命名空间(非常方便)。
在另一个选项卡中,我运行:
lein figwheel
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 - app
Compiling build :app to "target/cljsbuild/public/js/app.js" from ["src/cljs" "src/cljc" "env/dev/cljs"]...
Successfully compiled build :app to "target/cljsbuild/public/js/app.js" in 4.113 seconds.
Figwheel: Starting CSS Watcher for paths ["resources/public/css"]
Figwheel: Starting nREPL server on port: 7002
Launching ClojureScript REPL for build: app
所有cljs命名空间都可以从这个figwheel REPL/tab访问,但它未连接到Cider/emacs,所以我只能复制和粘贴。
有没有一种简单的方法在emacs中拥有两个REPL,并快速在它们之间切换?
或者你的典型工作流程是什么?你使用后端和前端REPLs,但不会同时使用吗?抱歉,我正在学习,所以我需要两个:)