I am trying to develop an application with clojurescript and deno. The trivial sources are here. It works great until I tried to run a repl.
To run the repl, I..
- Run the shadow-cljs repl via
node_modules/.bin/shadow-cljs clj-repl
- The I start the deno repl using a command such as
(shadow/node-repl {:build-id :app ;; my application
:node-command "/home/didier/.bin/deno" ;; the deno bin directly
:node-args ["repl"] ;; `deno repl` is very similar to `node`
:verbose true})
Result:
The underlying deno program exit and I have the following error.
[2021-08-17 16:59:18.741 - INFO] :shadow.cljs.devtools.server.repl-impl/node-repl-exit - {:code 0}
Expected:
The repl should switch to deno process.
My two cents..
I believe the stdin of the deno process is closed. If I manually tail -f main.js | deno repl it works.
I am trying to develop an application with clojurescript and deno. The trivial sources are here. It works great until I tried to run a repl.
To run the repl, I..
node_modules/.bin/shadow-cljs clj-replResult:
The underlying
denoprogram exit and I have the following error.Expected:
The repl should switch to deno process.
My two cents..
I believe the stdin of the deno process is closed. If I manually
tail -f main.js | deno replit works.