3 ms·
> External browser with REPL inside LightTable seems easiest for a noob like me. Unfortunately LT doesn't support that use case yet... It certainly does :) On
by jamii 13y ago
> External browser with REPL inside LightTable seems easiest for a noob like me. Unfortunately LT doesn't support that use case yet...
It certainly does :)
On the connections panel click 'Add connection' and then 'Browser (External)'
The first time you do that it will give you a script tag to add to your page. Once you've added that and loaded the page in the browser, try again and it will connect.
You can email me (jamie@kodowa.com) or the LT group (light-table-discussion@googlegroups.com) if you have any problems :)
- jarpineh 13y agoAh, I see. Thanks for the pointer. The docs on connections pane list only JavaScript, CSS and HTML can be evaluated, so I did not try with ClojureScript. I however did try to connect from LT to nREPL which had a running bREPL to external browser. That did not work (no connection), though I have no idea if it even should... ;) I'll see how it goes and will post to the LT group if I stumble on something.
- jamii 13y ago> The docs on connections pane list only JavaScript, CSS and HTML can be evaluated Ah, that's because its a two stage process. You need something that can compile cljs to js (eg nrepl) and something that can eval js (eg browser, node, lighttable). I think I was confused about that at first too. We should figure out how to make it clearer.