SBT rerunning command with ~ when “resources” or “webapp” changes
-
14-07-2021 - |
Question
I am using ~;container:start; container:reload / with xsbt-web-plugin. Reloading works well, only it does not happen when I change static resources, pages, etc.
How do I include them to change monitor, any ideas?
Thanks.
La solution
watchSources didn't work for some reason, even when directory is successfully added there
what worked for me is
unmanagedResourceDirectories in Compile <+= (baseDirectory) { _ / "src/main/webapp" }
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow