Fork me on GitHub
#clojurescript
<
2016-08-20
>
timgilbert03:08:30

@curlyfry: are you using the built-in secretary stuff to generate the links that you want to add fragments to?

curlyfry08:08:06

@timgilbert Not sure if this is what you mean, but my routes are defined like this:

`(defroute "/" []
    (re-frame/dispatch [:set-active-panel :home-panel]))

borongkim16:08:51

reagent does not recognize input tag’s refs [:input {:ref “ref-id”}] who knows this matter?

shaunlebron16:08:27

@borongkim: i’d ask in the #C0620C0C8 channel

arohner20:08:54

Is there any tool/workflow where reloading a compiled CLJS file works with :optimizations :whitespace?

anmonteiro21:08:18

@arohner I frequently reload files in simple/advanced compilation

anmonteiro21:08:35

Boot makes that quite easy

arohner21:08:59

@anmonteiro what environment are you in? How do you actually reload the files?

arohner21:08:16

I’ll try to reproduce in a sec, but I got class goog.foo already exists

anmonteiro21:08:19

ah right, I’m only used to doing this in a browser environment

arohner21:08:49

I’m trying to use Chrome

anmonteiro21:08:37

@arohner happy to share a simple config

arohner21:08:17

I’d love to see it

anmonteiro21:08:59

give me 10 min

arohner21:08:40

hrm, now I’m not seeing the same error, and the JS appears to load without error, but it looks like the goog.provide stuff isn’t overwriting the old functions

risto21:08:01

sometimes figwheel doesn't detect a file change and won't reload. Is this just the nature of hot reloading or did I misconfigure something? and if so, is there a way to trigger it manually via the repl (to avoid restarting the jvm)?

risto21:08:15

I've heard this issue pop up for webpack also

anmonteiro21:08:40

@arohner awesome, wasn’t aware