On August 18, 2015 at 11:56:58 PM, Kristo Koert 
([email protected](mailto:[email protected])) wrote:

> Maybe you are working in the same network as your target machine? Then there 
> is no need for port forwarding, however I want to use this setup anywhere 
> with internet connection. I might be wrong as I am by no means an expert.


No, nothing like that. However, the most obvious requirement of all these 
systems is met: the IP address which the development machine (a DigitalOcean 
VM) knows as its address, is its publicly accessible address which I can reach 
from arbitrary points on the Internet.

I just double checked that it works as I remember, and indeed it does. I just 
double-checked using the trivial start up directions on the figwheel README: 
https://github.com/bhauman/lein-figwheel    I ran lein figwheel  to get it up 
and running. I opened it in my browser, across the Internet. I saw it run. I 
made a trivial edit and saved. The program updated in a couple of seconds with 
no intervention from me.

There is a Web socket open from my page to the server (started by fig wheel) 
from which my application is also served. I edit a file and save it. Figwheel 
recompiles, and injects the updated code into the already open page. The 
process takes about two seconds, probably because the DigitalOcean VM I am 
using is not particularly powerful.

No port forwarding or any other special configuration.


--  
Kyle Cordes
http://kylecordes.com  


-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to