Rhino & Nashorn Socket REPLs don't share evaluation environment

Description

Clojure Socket REPLs share an evaluation environment.

For example, start up with

Then in one terminal

then if you go into another terminal

and in the original terminal where you started the socket REPL:

Here is what I get with the Node Socket REPL (not sure if I'm starting it the right way):

First terminal:

Second terminal:

Environment

None

Activity

Show:

David NolenMarch 16, 2018 at 3:51 PM

To clarify, ClojureScript Socket REPLs must be made to work this way one by one. Only cljs.server.browser currently works this way. The others needs to be adjusted. The main thrust of this work is to make -setup & -teardown idempotent and thread safe. The other bit is to make sure that output gets directed correctly. Browser REPL currently exhibits this bug https://dev.clojure.org/jira/browse/CLJS-2643.

Details

Assignee

Reporter

Priority

Created March 13, 2018 at 5:05 PM
Updated March 24, 2018 at 11:52 AM