dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
frank 2016-02-17T13:56:35.000028Z

Figured it out... we were doing something weird on our end

2016-02-17T13:57:05.000029Z

great! willing to share the details?

2016-02-17T13:57:45.000030Z

btw. that environ dependency can be moved under the devtools profile if you don’t use it elsewhere

frank 2016-02-17T13:58:36.000031Z

I'd have to move the source file for the macro into a source path specific to the devtools profile too, right?

frank 2016-02-17T13:58:42.000032Z

(not that I'm opposed to that)

frank 2016-02-17T13:58:47.000033Z

actually, I'm not sure how it would work

frank 2016-02-17T13:59:19.000034Z

anyway, I have no idea why, but I had to add with-profile +devtools here: https://github.com/circleci/frontend/blob/master/Procfile#L1

2016-02-17T14:00:38.000036Z

so how do you start your app in dev mode?

2016-02-17T14:00:46.000037Z

using foreman?

frank 2016-02-17T14:00:49.000038Z

yup

2016-02-17T14:01:14.000039Z

but you wrote you are doing lein with-profile +devtools figwheel

2016-02-17T14:01:27.000040Z

that is a different story, now it makes sense I think

2016-02-17T14:01:48.000041Z

foreman just runs what is specified in the Procfile

frank 2016-02-17T14:02:09.000042Z

with-profile +devtools was in the figwheel part of the Procfile though

frank 2016-02-17T14:02:16.000043Z

I had to add it to the lein run command as well

2016-02-17T14:02:21.000044Z

aha

frank 2016-02-17T14:02:47.000045Z

regarding moving environ to the devtools profile

frank 2016-02-17T14:03:33.000046Z

(looking into it)

frank 2016-02-17T14:09:15.000047Z

it looks like I can drop environ as a dependency entirely in favour of this: https://github.com/clojure/clojurescript/wiki/Compiler-Options#closure-defines

2016-02-17T14:09:56.000049Z

indeed

frank 2016-02-17T14:39:08.000050Z

would you have any idea what is happening here?

(def thing [1 2 3 4 5])
#'cljs-time.format/thingmeta
(sort thing)
clojure.lang.ExceptionInfo: contains? not supported on type: clojure.lang.PersistentList at line 1 <dirac repl> {:file "<dirac repl>", :line 1, :column 1, :tag :cljs/analysis-error}

frank 2016-02-17T14:40:32.000051Z

nvm it only happened in that namespace (cljs-time.format)