Is there a way to get IntelliJ Idea Live Edit feature to work with Gradle projects?
I'm using IntelliJ Ultimate Edition 2020.3. I've enabled Live Edit, and checked the box for Track changes compiled to JavaScript, HTML or CSS. However, none of my changes to my project files load in my browser window. I feel like it's because this is a gradle project, but I'm not sure. I also attempted to check the 'Use Jetbrains IDE support extension" checkbox, but the system is offline and can't download it. Besides, from what I can tell that feature is unnecessary.
For what it's worth, the project was initially built in eclipse and contains an eclipse.gradle file. There is also no plugin in the gradle.build file for the 'org.jetbrains.intellij'. The project is an off-line computer, so if I try to add intellij to the gradle.build, the build fails.
Finally, my project uses both .vm and .jsp templates to build the site. I couldn't find anywhere if these file types are supported in the Live Edit, however I assume that that's what the 'Track changes compiled to..." checkbox is for.
Thank you for the help.
Please sign in to leave a comment.
Are you Chrome is in debug mode?
See https://www.jetbrains.com/help/idea/live-editing.html
As for .jsp and .vm, they are not supported in Live Edit. You can achieve similar effect by using HotSwap with Gradle project: https://www.jetbrains.com/help/idea/altering-the-program-s-execution-flow.html#reload_classes