Class ReloadAgent
java.lang.Object
megalodonte.application.reload.ReloadAgent
Opt-in premain agent used by `megalodonte dev`. File protocol is local to one session.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisActive()True only when launched with this agent; normal applications do not watch files.static voidpremain(String directory, Instrumentation instrumentation) JVM agent entry point.
-
Method Details
-
isActive
public static boolean isActive()True only when launched with this agent; normal applications do not watch files. -
premain
JVM agent entry point. The session directory is private to the CLI invocation.- Throws:
IOException
-