I don't think so. Figwheel gives an error when run from a worker: "Figwheel: Can't start Figwheel!! This browser doesn't support WebSockets".
When figwheel reloads the main page, I make it terminate and restart the worker. -- Eivind Magnus Hvidevold Cell: +47 92 678 423 On Tue, May 31, 2016 at 2:20 PM, jiyinyiyong <[email protected]> wrote: > That's nice. So hot code loading will not work here right? > > On Tue, May 31, 2016 at 5:00 PM Eivind Magnus Hvidevold < > [email protected]> wrote: > >> >> I am using a ClojureScript web worker in my game, see bootstrap script >> here: >> https://github.com/emnh/rts/blob/master/resources/public/js/worker.js >> >> -- >> Eivind Magnus Hvidevold >> Cell: +47 92 678 423 >> >> On Tue, May 31, 2016 at 5:58 AM, Jiyin Yiyong <[email protected]> >> wrote: >> >>> As I can see the hot loading will fail in such case since it cannot >>> touch the DOM. But it's a obvious solution we need to gain performance in a >>> browser. Is there some solution for it now? >>> >> >>> -- >>> 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 https://groups.google.com/group/clojurescript. >>> >> -- >> Note that posts from new members are moderated - please be patient with >> your first post. >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "ClojureScript" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/clojurescript/4b7zPDh70_M/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/clojurescript. >> > -- > 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 https://groups.google.com/group/clojurescript. > -- 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 https://groups.google.com/group/clojurescript.
