Unrelated. I'm having issues, without my library, where commented out tests are being run. I've bumped all the versions. I'm using ; comments. I've run lein clean. I'm very confused. Any hints?
Ah. Lein clean is useless because it's down to wherever your compiler writes to, eg out/
Oh, and latest version of kaocha doesn't work for me because it doesn't depend on a version of glogi, only "release", which is deprecated and not supported by my proxy.
oh, that should be fixed, I'll put out a release. You're talking about kaocha-cljs right?
Yeah. I raised an issue.
thanks, I released kaocha-cljs 0.0-71
with a specific glogi version
Thanks, I can straight bump that.
Are there situations where :bindings don't work?
I'm not seeing the raw socket data printed out for cljs
Tbh, I'm pretty confused. I'm still seeing old builds despite deleting out, I'm not seeing files go into "out2" despite setting it as my output dir in cljs/compiler-options
I'm also getting invalid token errors during the tests, but I'm certain the code compiles because it tests fine without kaocha
that is confusing... I would start with git clean -nxfd
(that's a dry run with -n
) to see what's lying around, and then git clean -xfd <specific paths you want to clean out>
for good measure you can also wipe ~/.cljs/.aot_cache
re. :bindings
those are Clojure bindings. Are you expecting them in Clojure or in ClojureScript?
make sure to disable output capturing so it's not swallowing some useful info (warnings etc)
--no-capture-output
what does your tests.edn
look like? setting arbitrary compiler options often does not work, the cljs repls we rely on are sensitive to what you put in there
there are plans to redo the cljs integration in a much more robust way, but that's a Big Project for which we don't yet have the funding
I'm trying to set the clojurescript debug bindings. As documented. Can't share the file because bank.
I'm getting something pretty strange with no output capture about : being an invalid token.
But ": " doesn't exist outside of comments and strings. This is why I want to see the exact thing being sent by kaocha
After a clean it seems to work. I wiped it all out. I'm a bit suspicious it might be using something I don't expect as the output.
By work, I mean :bindings works. Looking at the printed output, I don't see anything that wouldn't correctly be read though.
:q
okay, well. I just noticed that one terminal is in /t/foo, and the other is /s/foo. So I think I've been running in different directories... No wonder I feel like I'm going insane...
That's extremely embarrassing 😂
As promised, my extremely simple solution to the problem of launching chrome: https://github.com/SevereOverfl0w/delegating-repl