Fork me on GitHub
#lumo
<
2017-11-21
>
hlolli00:11:16

Well maybe monkeypatching the require function isn't so bad, from there the base64 strings can be converted https://github.com/nodejs/node/blob/master/lib/module.js#L653-L668 my exploration continues...

richiardiandrea18:11:20

I have investigating again in the instrument problem and I have noticed this:

(filter #(clojure.string/includes? (str %) "cljs/spec") (gobj/getKeys lumo.internal.embedded.resources))
("cljs/spec/alpha$macros.cache.json"
 "cljs/spec/alpha$macros.js"
 "cljs/spec/alpha.cljc"
 "cljs/spec/alpha.cljs"
 "cljs/spec/alpha.cljs.cache.json"
 "cljs/spec/alpha.js"
 "cljs/spec/gen/alpha$macros.cache.json"
 "cljs/spec/gen/alpha$macros.js"
 "cljs/spec/gen/alpha.cljc"
 "cljs/spec/gen/alpha.cljs"
 "cljs/spec/gen/alpha.cljs.cache.json"
 "cljs/spec/gen/alpha.js"
 "cljs/spec/test/alpha$macros.cache.json"
 "cljs/spec/test/alpha$macros.js"
 "cljs/spec/test/alpha.cache.json"
 "cljs/spec/test/alpha.cljc"
 "cljs/spec/test/alpha.cljs"
 "cljs/spec/test/alpha.js"
 "target/cljs/spec/alpha.cljc"
 "target/cljs/spec/alpha.cljs"
 "target/cljs/spec/alpha.cljs.cache.json"
 "target/cljs/spec/alpha.js"
 "target/cljs/spec/gen/alpha.cljc"
 "target/cljs/spec/gen/alpha.cljs"
 "target/cljs/spec/gen/alpha.cljs.cache.json"
 "target/cljs/spec/gen/alpha.js"
 "target/cljs/spec/test/alpha.cljc"
 "target/cljs/spec/test/alpha.cljs")
Files are kind of duplicated and embedded from target as well.

anmonteiro18:11:40

Lets fix that

anmonteiro18:11:57

But the instrument problem is unrelated to embedded resources

richiardiandrea18:11:49

there is only one "cljs/spec/test/alpha$macros.cache.json" too

richiardiandrea18:11:45

@anmonteiro which ones are the "correct" one, the ones from cljs?