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!