Skip to content

Deno replΒ #923

Description

@didiercrunch

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..

  1. Run the shadow-cljs repl via node_modules/.bin/shadow-cljs clj-repl
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions