This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-02
Channels
- # adventofcode (5)
- # arachne (2)
- # bangalore-clj (1)
- # beginners (8)
- # boot (195)
- # cider (28)
- # cljs-dev (35)
- # cljsrn (4)
- # clojure (295)
- # clojure-brasil (5)
- # clojure-gamedev (2)
- # clojure-greece (2)
- # clojure-korea (13)
- # clojure-russia (60)
- # clojure-spec (58)
- # clojure-uk (92)
- # clojurescript (31)
- # clojurex (4)
- # css (1)
- # cursive (13)
- # datomic (40)
- # devcards (2)
- # emacs (17)
- # events (1)
- # flambo (3)
- # garden (9)
- # hoplon (31)
- # jobs (3)
- # klipse (1)
- # lein-figwheel (1)
- # london-clojurians (1)
- # luminus (2)
- # mount (36)
- # off-topic (13)
- # onyx (8)
- # pamela (1)
- # pedestal (1)
- # planck (3)
- # proto-repl (16)
- # protorepl (11)
- # re-frame (78)
- # reagent (4)
- # rethinkdb (6)
- # ring-swagger (1)
- # specter (8)
- # untangled (10)
- # vim (1)
Hi, @ewen does replique support hot reload? now I have main.js and linked in my index.html. now It works when I save changes, replique/load-file
then reload browser page.
Hi @doglooksgood, replique/load-file pushes the code to the browser. You should not need to reload the page
my browser open two tab, tab for replique port, the other for my index page(url is something like file:/// ...)
and another question, I have a core.cljs
, I load this file. then I add another foo.cljs
, and require foo
in core.cljs
. then I reload core.cljs
, It seems that foo.cljs is not been loaded. I have to load it manually, is it the correct behavior?
You only need 1 tab. The tab open on the replique port is only needed when you don't want to start a web server (in which case replique will start one for you)
Yes you have to call replique/load-file on both file. The semantic is the same than clojure.core/load-file.
@doglooksgood: no your index.html must stay in the assets folder of your webserver
@doglooksgood Here is an example project: https://github.com/EwenG/replique-pedestal