kit-clj / kit

Lightweight, modular framework for scalable web development in Clojure
https://kit-clj.github.io/
MIT License
463 stars 43 forks source link

auto reload sql queries in dev mode #128

Open yogthos opened 5 months ago

yogthos commented 5 months ago

Currently, whenever hugsql queries are changed, the user has to run (reset) to load new queries. Proposed change would be to automatically reload queries when the app is running in dev mode so that (reset) isn't needed.

This issue relates to discussion regarding automatically reloading routes in dev.

gerdint commented 4 months ago

I will have a go at this!

gerdint commented 4 months ago

I would still want to have a go at this but it is subject to my available time which appears scarce for the time being, so I wouldn't want to block anyone else who is so inclined!

yogthos commented 4 months ago

Oh yeah no worries, and absolutely no rush. I haven't really had much time myself either lately. :)