In short: is it possible to reload static resources using akka-http?
A bit more:
- I have Scala project.
- I'm using
App
object to launch myMain
class. - I'm using
getFromResourceDirectory
to locate my resource folder.
What I would like to have is to hot-swap my static resources during development.
For example, I have index.html
or application.js
, which I change and I want to see changes after I refresh my browser without restarting my server. What is the best practise of doing such thing?
I know that Play!
allows that, but don't want to base my project on Play!
only because of that.