nrepl

https://github.com/nrepl/nrepl || https://nrepl.org
pez 2019-10-30T07:38:08.162600Z

Before I file an issue, I want to check if I’m misunderstanding something. When creating a fresh re-frame app with 10x, using the Leiningen template I get this events.cljs file:

(ns fresh-10x.events
  (:require
   [re-frame.core :as re-frame]
   [fresh-10x.db :as db]
   [day8.re-frame.tracing :refer-macros [fn-traced defn-traced]]
   ))

(re-frame/reg-event-db
 ::initialize-db
 (fn-traced [_ _]
   db/default-db))

(re-frame/reg-event-db
 ::set-active-panel
 (fn-traced [db [_ active-panel]]
   (assoc db :active-panel active-panel)))
Requesting info on this namespace (`fresh-10x.events`) gives back a response with an empty file entry (an empty array, as it happens). But if I add (def foo 42) to the file, then the info op resolves the file path. What gives?

bozhidar 2019-10-30T09:40:10.162800Z

> the code quoted just creates the main session thread, right?

bozhidar 2019-10-30T09:40:13.163Z

@shen Yes.