Jetty: Updated Static Resources in U-Turn Mode

I am running a maven project that has a military dependency. I have several resources specific to the actual project, which is located in src / main / webapp.

When I start developing a project using mvn jetty:run-exploded , the project is assembled in target / with the overlay applied.

When starting Linux, if I update resources in src / main / webapp - within a few seconds the update also applies to its target directory. However, on Windows, the target is not updated until I stop and start maven. I applied a special webdefault.xml for the berth to disable the berth file lock.

Anyone have this setup working on Windows?

+6
source share
1 answer

JRebel can do what you want. Not sure if Maven can actually achieve this. See the JRebel docs for more information.

+1
source

Source: https://habr.com/ru/post/906393/


All Articles