<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged reload</title>
<link>https://ask.clojure.org/index.php/tag/reload</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to setup a multipage web application with clojure and clojurescript</title>
<link>https://ask.clojure.org/index.php/14245/how-setup-multipage-application-with-clojure-clojurescript</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I wanted to find out whether it&#039;s possible to have a clojure web application that is serving html and use clojurescript to directly manipulate DOM elements.&lt;/p&gt;
&lt;p&gt;All the setups I&#039;ve encountered usually involve a Single Page Application written in clojurescript on the frontend and clojure on the backend.&lt;/p&gt;
&lt;p&gt;I would like a traditional setup, a multipage web application.&lt;/p&gt;
&lt;p&gt;I checked out shadow-cljs and it seems to follow the single page setup where it serves the HTML itself. What if I am generating the HTML myself?&lt;/p&gt;
&lt;p&gt;Is it possible to achieve such a set-up? Also is it possible to do it with hot reloading?&lt;/p&gt;
&lt;p&gt;Thank you for answering my question.&lt;/p&gt;
</description>
<category>Clojure</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14245/how-setup-multipage-application-with-clojure-clojurescript</guid>
<pubDate>Thu, 14 Nov 2024 13:16:10 +0000</pubDate>
</item>
<item>
<title>Is it possible to get ClojureScript hot reload in a Chrome Extension?</title>
<link>https://ask.clojure.org/index.php/13786/is-possible-get-clojurescript-hot-reload-chrome-extension</link>
<description>&lt;p&gt;I&#039;ve been working with Chrome Extensions for some time and it would be amazing to get ClojureScript hot reloading capabilities there.&lt;/p&gt;
&lt;p&gt;I tried Thomas Heller example &lt;code&gt;shadow-cljs&lt;/code&gt; project for Chrome Extensions and some other stuff that I documented in &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/marcelocra/repro-cljs-chrome-extension&quot;&gt;a minimum example repo&lt;/a&gt;, but with no success.&lt;/p&gt;
&lt;p&gt;In summary, seems like the Chrome Extensions&#039; v3 manifest prohibits &lt;code&gt;eval&lt;/code&gt;, which means we are out of luck?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description>
<category>ClojureScript</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/13786/is-possible-get-clojurescript-hot-reload-chrome-extension</guid>
<pubDate>Sat, 16 Mar 2024 14:17:48 +0000</pubDate>
</item>
<item>
<title>how to start a web server in dev mode in an interactive mode with hot reload and refresh</title>
<link>https://ask.clojure.org/index.php/12933/how-start-server-mode-interactive-mode-with-reload-refresh</link>
<description>&lt;p&gt;Hello wonderful clojure community.&lt;br&gt;
I am new to clojure so appologies for my dump question.&lt;/p&gt;
&lt;p&gt;I want to write a http server in clojure and for that there a a few libraries/frameworks available. but what is important for me is the interactive development experience, how?&lt;/p&gt;
&lt;p&gt;ok, I want to start the server and if I change a module/namespace I want it to be automatically reload (actually I&#039;ve already achieved this) however on top of it I want the frontend to get refreshed automatically to to refelect the changes. I use hiccup to describe/render my html pages, unfortunately though for any change I need to manually refresh the page.&lt;/p&gt;
&lt;p&gt;I know there should be a (websocket based) solution to make this possible.&lt;/p&gt;
&lt;p&gt;I want this soution to work with clojure, I do not use/want clojurescrip.&lt;/p&gt;
</description>
<category>Clojure</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/12933/how-start-server-mode-interactive-mode-with-reload-refresh</guid>
<pubDate>Fri, 12 May 2023 08:20:46 +0000</pubDate>
</item>
</channel>
</rss>