Skip to content

Something wrong with log output in CIDER #138

@agzam

Description

@agzam

When I set :compiler-options {:verbose true} the log does not appear in cider-repl buffer.

to reproduce:

cider-jack-in in any project that uses boot-cljs, with verbose logging option on. Then try to run the task: boot.user> (boot (dev))

example of a task:

(task-options!
  cljs {:ids              #{"js/dev"}
    :compiler-options {:asset-path     "js/dev.out"
               :verbose        true}})

(deftask dev []
  (comp
(serve)
(watch)
(cljs-repl)
(reload :on-jsload 'sample-routing.core/init!)
(speak)
(cljs)
(sift :move {#"dev.js" "main.js"})
(target)))

observed behavior:

boot-cljs's output appears in *nrepl-server* buffer and not in the same cider-repl buffer.

expected behavior:

it should appear in cider-repl buffer. For comparison: lein project with cljs-build outputs log in the same buffer

env:

CIDER 0.14.0snapshot (package: 20161013.518)

GNU Emacs 25.1.1 (x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G1004)) of 2016-09-19

BOOT_CLOJURE_VERSION=1.8.0
BOOT_VERSION=2.6.0

[adzerk/boot-cljs "1.7.228-1"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions