简体   繁体   中英

Why CIDER's REPL some times start as "shadow.user>" and in others it starts as "cljs.user>"?

I am using Clojure, ClojureScript, shadow-cljs, Emacs, Cider, and Lein to develop a web app project.

Sometimes, I start a project and see as the top-level in the REPL:

shadow.user>

In other times, I see:

cljs.user>

I believe the names indicate the namespace been used.

But, why are different start-ups happening? What do the different names imply (beyond the namespace)?

My expectation was that I would have the same namespace on every startup of the REPL.

shadow.user> is generated after executing cider-jack-in-clj . And cljs.user> is generated after executing cider-jack-in-cljs .

The s at the end of the command's name is subtle but crucial. I can't say much about the implications.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM