-
-
Notifications
You must be signed in to change notification settings - Fork 652
Description
ClojureScript project is https://github.com/friemen/zackzack
After starting a REPL using cider-jack-in
I start the backend and the weasel+piggieback based browser-connected REPL.
Then I connect with the browser using http://localhost:8080/testindex.html
I load for example src/cljs/zackzack/demo/playground.cljs
I eval code using cider-eval-defun-at-point
for example function playground-view
.
I receive warnings as shown below and changed code is not loaded/compiled:
; CIDER 0.9.0snapshot (package: 20150316.2241) (Java 1.8.0_40, Clojure 1.6.0, nREPL 0.2.8)
zackzack.backend> (start!)
:started
zackzack.backend> (cljs-repl)
<< Started Weasel server on ws://0.0.0.0:9001 >>
Type `:cljs/quit` to stop the ClojureScript REPL
nil
WARNING: Use of undeclared Var zackzack.demo.playground/convert-text at line 23 /home/riemensc/Workspaces/Clojure/workspace/zackzack/src/cljs/zackzack/demo/playground.cljs
WARNING: Use of undeclared Var zackzack.demo.playground/view at line 19 /home/riemensc/Workspaces/Clojure/workspace/zackzack/src/cljs/zackzack/demo/playground.cljs
WARNING: Use of undeclared Var zackzack.demo.playground/textfield at line 20 /home/riemensc/Workspaces/Clojure/workspace/zackzack/src/cljs/zackzack/demo/playground.cljs
WARNING: Use of undeclared Var zackzack.demo.playground/textfield at line 21 /home/riemensc/Workspaces/Clojure/workspace/zackzack/src/cljs/zackzack/demo/playground.cljs
WARNING: Use of undeclared Var zackzack.demo.playground/button at line 22 /home/riemensc/Workspaces/Clojure/workspace/zackzack/src/cljs/zackzack/demo/playground.cljs
I added (message ns-form)
in cider-interaction.el, function cider--dummy-file-contents
.
In Messages buffer the line (ns zackzack.demo.playground)
appears, but the complete ns-form in cljs file is:
(ns zackzack.demo.playground
(:require [examine.constraints :as c]
[examine.core :as e]
[clojure.string :as string]
[zackzack.specs :refer [action-link button checkbox column
datepicker panel
selectbox table textfield view]])
(:require-macros [examine.macros :refer [defvalidator]]
[cljs.core.async.macros :refer [go]]))
I suspect the ns-form sent to compiler is incomplete, which causes the warnings.
Around end of November 2014 this worked flawlessly, so the problem appeared very recently.
Oh, and not to forget: I really appreciate all the excellent work that you have done for the Emacs/Clojure community!