Fork me on GitHub
#dirac
<
2016-02-17
>
frank13:02:35

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

darwin13:02:05

great! willing to share the details?

darwin13:02:45

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

frank13:02:36

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

frank13:02:42

(not that I'm opposed to that)

frank13:02:47

actually, I'm not sure how it would work

frank13:02:19

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

darwin14:02:38

so how do you start your app in dev mode?

darwin14:02:46

using foreman?

darwin14:02:14

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

darwin14:02:27

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

darwin14:02:48

foreman just runs what is specified in the Procfile

frank14:02:09

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

frank14:02:16

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

frank14:02:47

regarding moving environ to the devtools profile

frank14:02:33

(looking into it)

frank14:02:15

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

frank14:02:08

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}

frank14:02:32

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