Class ReloadAgent

java.lang.Object
megalodonte.application.reload.ReloadAgent

public final class ReloadAgent extends Object
Opt-in premain agent used by `megalodonte dev`. File protocol is local to one session.
  • Method Details

    • isActive

      public static boolean isActive()
      True only when launched with this agent; normal applications do not watch files.
    • premain

      public static void premain(String directory, Instrumentation instrumentation) throws IOException
      JVM agent entry point. The session directory is private to the CLI invocation.
      Throws:
      IOException