TravaOpenJDK / trava-jdk-11-dcevm

dcevm-11 built on Travis
Apache License 2.0
403 stars 57 forks source link

Is there anything like a workaround example for scala? #15

Open VTommy opened 5 years ago

VTommy commented 5 years ago

Hello,

I'm trying to introduce trava-jdk-11-dcevm into a scala project I'm currently working on, as the sbt auto-reload usually takes ten minutes even if it's for a really tiny change. However, after my attempt to trigger the hotswap functionality within IntelliJ, nothing happened. So is there anything like an example about how-swap in scala which I can refer to?

Sincerely, Tommy

skybber commented 5 years ago

Could you add optiion -Xlog:redefine+class*=info to JVM args to make sure the modified classes are actually sent by Idea to JVM ?

mojo2012 commented 4 years ago

By default IntelliJ doesn't build automatically while running. Either you have to manually build the file, or you use a hack to enable autobuild while debugging (in the Registry). If you build manually you have to make sure that really every builds, otherwise changes will most likely not sent to the JVM!