Achieve IntelliJ Idea to build and re-run a Spark Java project on file edit/update
Answered
I'd like to automate a process. I'm using Spark Java framework and after build and run the first time, I'd like IntelliJ Idea to watch file changes, stop, build and run the Spark Java application with the latest edits.
I know that there is the File-Watchers plugin, although I'm not able to configure it correctly.
Any help appreciated. Thanks!
Please sign in to leave a comment.
IntelliJ IDEA can build the code automatically on changes, but there is no support for automatic restart of the Java Application run/debug configuration. Such functionality is usually available only for the application servers. Restarting manually with the shortcut should not be a big issue, though.
Probably a special run configuration would be needed to support it for Spark, request is welcome at https://youtrack.jetbrains.com/issues/IDEA.
Hi Serge,
thanks for reaching out and for the reply. I'll fill the request ASAP. My desire is to have a feature similar to Android Studio Instant Run or Nodemon with Express web application server combo.
Thanks.
Enjoy your day! ;)
Kind regards,
Luca
Done: https://youtrack.jetbrains.com/issue/IDEA-196700