Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
VTommy opened this issue Jun 4, 2019 · 2 comments
Open

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

VTommy opened this issue Jun 4, 2019 · 2 comments

Comments

@VTommy
Copy link

VTommy commented Jun 4, 2019

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
Copy link
Contributor

skybber commented Jun 5, 2019

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
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants