Can I specify two folders or resource paths to Selmer template locations? I looked at the set-resource-path! source. It does not seem to have option to specify two folders . Not sure if there is any other way
You may want to try asking on #clojure, as your question is about Selmer rather than Ring.
On a Form created using Selmer, I used HTMX attributes hx-boost="true" hx-target="#myresp" to make the POST call happen via AJAX.
When I update the source code, it seems ring-refresh is firing a GET call instead of repeating the POST call. This is giving me 405 method not allowed error .
It works fine when I don't use HTMX. Not sure if it has anything to do AJAX calls
The first request is a GET request to show the form, the second is a POST to submit the form and update a DIV with the response. As a work around I disabled the POST from getting added to browser history so that wrap-refresh will repeat the GET instead of the POST. My form tag is now having these HTMX attributes hx-boost="true" hx-push-url="false" hx-target="#myresp"
ring-refresh just triggers a browser refresh when it detects files have changed. It doesn't do more than that.
Got it. Is there a way to wire livereload.js ? In one of my previous Sring projects I had it and I think it was retrying HTMX's AJAX POST calls on reload