0

Is there a way to tell springLoaded to watch all classes of a project instead of a single class as shown in the how-to section ?

java -javaagent:<pathTo>/springloaded-{VERSION}.jar -noverify SomeJavaClass
pmartin8
  • 1,545
  • 1
  • 20
  • 36

1 Answers1

0

Omit SomeJavaClass. It's that simple

Edit: look up this Using Spring loaded in spring mvc framework

Community
  • 1
  • 1
Zildyan
  • 1,261
  • 9
  • 11
  • I get the error: Syntaxe : java [-options] class [args...] so it looks like "class" is mandatory – pmartin8 Oct 18 '16 at 16:58
  • It's not mandatory or I could not use it in this way all the time. It depends how you are configuring JVM options. For example I set MAVEN_OPTS in batch script (because I have several modules to install) and it works perfectly – Zildyan Oct 18 '16 at 17:33