-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename :asset-path #99
Comments
Resource-root sounds good! We could also change the implementation a bit to be more similar to it: If I recall correctly current Resource-root could work so that ONLY files inside those paths are reloaded. Resource-root could perhaps also be a collection? |
My 2c, a |
As @arichiardi says, the word “resource” does mean something different in Java parlance—and, indeed, Boot’s API itself uses the word in that other way too. This overloading of “resource” may be unnecessarily confusing to many users of Java and Boot. My preference would be to alias Eventually, as @Deraen says, it would be great if boot-reload inferred the compiler’s output directory and asset URL paths. When I have time, I might try to contribute an implementation of that myself…though I’d probably have to finally properly learn how Boot pods work, heh. |
Asset path has been confusing many esp. since it's also overlapping with a compiler option. I recently "discovered" that what it's doing is actually conceptually similar to the
:root
option in compojure'sresource
handler. So with that in mind maybe:resource-root
would make sense?Just a thought in any case we should definitely hear from users if this would have cleared things up.
The text was updated successfully, but these errors were encountered: