I've been using gradle -t
to continuously build & run my tests every time I save a source file. Very useful. However, I'm editing the file in Vim, which means .swp
files are being created and changed on a regular basis. Every time a .swp
file changes, Gradle kicks off a rebuild. Not the end of the world, but annoying.
Is there any way I can tell Gradle to ignore changes in *.swp
files when in continuous mode?