Enable hotswapper automatically if agent is active

This commit is contained in:
Mumfrey committed 2016-02-22 17:22:45 +00:00
1 parent b34e7e67eb
commit ea29f2ba6c
1 file changed
+1
@@ -204,6 +204,7 @@ public class MixinAgent implements IHotSwap {
* @param instrumentation Instance to use to transform the mixins
*/
public static void premain(String arg, Instrumentation instrumentation) {
System.setProperty("mixin.hotSwap", "true");
MixinAgent.init(instrumentation);
}