I'm a bit confused on the right way to serve generated files during dev. If I have CSS files such as ./resources/public/css/gen/main.css, and I want to serve them at e.g. /static/css/gen/main.css , is a file or resource handler more appropriate? And what configuration makes that actually work?
files vs resources only matter if you're deploying an uberjar
resources can live inside the uberjar, files need to be actual files
if you're deploying a git checkout or a docker image, the distinction probably doesn't matter
Figured it out the moment after posting here, it's ["/static/*" (create-file-handler {:path "/resources/public"})]