Fork me on GitHub
#lein-figwheel
<
2015-12-29
>
mudphone03:12:42

anyone else using Figwheel with Material Design Lite (MDL)?

mudphone03:12:28

I have thrown (.upgradeDom js/componentHandler) into my figwheel on-js-reload fn… but not sure if that’s the best way to upgrade MDL components when the react components are refreshed (ie MDL components are added after window load). Anyone else doing something else or similar?

mudphone03:12:59

Meta question: is that what on-js-reload is for? things like this?

wilkerlucio13:12:32

good morning everybody

wilkerlucio13:12:38

can you tell me how I can switch the target build from my REPL commands on Figwheel? for example, I have autobuild running with 2 builds: "devcards", "electron", and I have one connection for each (one in the browser, one in electron)

wilkerlucio13:12:50

all the commands that I issue from the REPL are currently going to devcards

wilkerlucio13:12:10

I still wanna build both, I just wanna to change the target of the REPL commands to be the other connection, how can I do that?

wilkerlucio17:12:31

found out, using :cljs/quit it prompts for others

grav22:12:44

I get the following from an Internet Explorer VM connecting to a figwheel server:

SCRIPT12017: WebSocket Error: SECURITY_ERR, Cross zone connection not allowed

grav22:12:33

It’s a vanilla lein figwheel template app. Connecting from the local machine (the host OS) works fine

grav23:12:56

Ok, using Chrome, I see that the browser is trying to connect to instead of

grav23:12:55

Can’t this be dynamically set, so that if I request , that page will also request ?

grav23:12:41

To answer my own question, from https://github.com/bhauman/lein-figwheel#client-side-configuration-options: :websocket-host :js-client-host