To start CLJS REPL with shadow-cljs, you need following steps.
Warning
|
|
-
Start to watch
-
$ iced repl {YOUR-BUILD-ID}
-
In this case,
iced
command will start watching project instead of starting REPL. -
You need a nREPL configuration file to start watching, but
iced
command can generate it automatically.
-
-
-
Access shadow-cljs’s HTTP server in your browser
-
Connect to nREPL
-
Execute {help_html}#%3AIcedConnect[IcedConnect] command to connect to REPL
-
For shadow-cljs, cljs-repl will be started automatically after connection.
-
You don’t need to specify your build ID anymore.
-
-
If you would like to start CLJS REPL by hand, you can do it as follows.
:IcedEvalRepl (shadow.cljs.devtools.api/repl :YOUR-BUILD-ID)