Fork me on GitHub
#hoplon
<
2017-03-01
>
onetom02:03:01

i was trying to run the javelin tests and it's looping automatically even though im not changing any files:

pair@fox ~/g/h/javelin> boot watch test-javelin

Starting file watcher (CTRL-C to quit)...

Compiling ClojureScript...
• test.js
WARNING: Use of undeclared Var javelin.core-test/map__10944 at line 458 test/javelin/core_test.cljs
WARNING: Use of undeclared Var javelin.core-test/map__10944 at line 458 test/javelin/core_test.cljs
2.1.1

Testing javelin.core-test

Ran 9 tests containing 272 assertions.
0 failures, 0 errors.

Done
"Elapsed time: 260.403896 msecs"
All tests passed (on phantomjs).
2.1.1

Testing javelin.core-test
...

onetom02:03:12

i see this in the build.boot:

(comp (cljs)
        (test-runner)
        (test-runner)
        (test-runner)
        (test-runner)
        (test-runner)
        (test-runner)
        (test-runner)
        (test-runner)
        (test-runner)
        (test-runner))

onetom02:03:47

any reason for this?

onetom02:03:05

it was added in the following commit but the commit message doesn't explain this part specifically: https://github.com/hoplon/javelin/commit/4e152adae998f51db5efaf8d43b43fcfeab4577b

thedavidmeister02:03:46

that looks weird

micha03:03:43

that's an "expedient" hack for benchmarking performance 🙂

onetom03:03:58

a comment above it would have helped 🙂

micha03:03:13

indeed 🙂

jesse.rosalia23:03:12

hey all! my name is Jesse, I’ve been hacking on Clojure for a while but I haven’t seriously looked at Hoplon until today. So far I really like it and am excited to see what I can build.

jesse.rosalia23:03:50

I did have a question..maybe a dumb question, but it looks like the latest 6.0.0 alpha has problems compiling .html.hl files (cljs.hl files work just fine)..I’m getting ClassCastExceptions and IndexOutOfBounds exceptions. Is this just a bug in the alpha? Or should I avoid using .html.hl files because they’re not the “right way” to use hoplon?

micha23:03:57

@jesse.rosalia i would avoid using the html syntax