Fork me on GitHub
#hoplon
<
2016-02-01
>
laforge4915:02:19

I plan to use macros for defining the api and local calls something like the way castra does.

laforge4915:02:21

Updated state from the web worker will be plugged directly into the appropriate javelin cell.

micha16:02:51

👍 sounds awesome

laforge4922:02:19

@micha I need help again. 😞

laforge4922:02:52

Using a .cljs.edn file and the js file is not being compiled.

micha22:02:39

what's the symptom,s

laforge4922:02:50

here's the output: C:\Users\Bill\Documents\aatree\aademos\tworker>boot dev Starting file watcher (CTRL-C to quit)... Compiling Hoplon pages... ò tworker\index.cljs.hl Compiling ClojureScript... ò index.html.js Starting Jetty on port 8000... 2016-02-01 17:08:42.669:INFO::clojure-agent-send-off-pool-0: Logging initialized @26310ms 2016-02-01 17:08:42.723:INFO:oejs.Server:clojure-agent-send-off-pool-0: jetty-9.3.1.v20150714 2016-02-01 17:08:42.818:INFO:oejw.StandardDescriptorProcessor:clojure-agent-send-off-pool-0: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 2016-02-01 17:08:42.845:INFO:oejsh.ContextHandler:clojure-agent-send-off-pool-0: Started o.e.j.w.WebAppContext@31849d26{/,file:///C:/Users/Bill/.boot/cache/tmp/Users/Bill/Documents/aatree/aademos/tworker/1no/-jknt4h/,AVAILABLE} 2016-02-01 17:08:42.921:INFO:oejs.ServerConnector:clojure-agent-send-off-pool-0: Started ServerConnector@dc28fa{HTTP/1.1,[http/1.1]}{0.0.0.0:8000} 2016-02-01 17:08:42.926:INFO:oejs.Server:clojure-agent-send-off-pool-0: Started @26567ms Implicit target dir is deprecated, please use the target task instead. Set BOOT_EMIT_TARGET=no to disable implicit target dir. Elapsed time: 24.188 sec

laforge4922:02:00

note: no worker.js

laforge4922:02:14

the client runs fine, but obviously the worker does not.

laforge4922:02:50

Here's the .cljs.edn file: {:require [tworker.demo-worker] :init-fns [tworker.demo-worker/main] :compiler-options {}}

micha22:02:08

it's hard to see anything there

micha22:02:19

looks okay to me though

laforge4922:02:44

yes, but it is ignoring the .cljs.edn file

micha22:02:01

if you do show -f does that show the cljs.edn file?

laforge4922:02:21

nope, only the one generated by hoplon. simple_smile

laforge4922:02:55

I put it in the wrong place. Thanks!

laforge4922:02:12

I put it under src, which is not a source directory. 😄

laforge4922:02:06

It is now being generated!

laforge4922:02:04

Many thanks again.

laforge4922:02:35

Gotta get my proficiency up by writing more code. Making too many stupid mistakes. And not seeing them until they are rubbed in my face. Sheesh!