gradle-watch-plugin
gradle-watch-plugin copied to clipboard
add ignore args, just to ignore some .swp files
hey, guy, the plugin will run a watchtarget task when i use VIM to edit some file, so add a ignores args, just to ignore these files.
watch {
java {
files files('src/main/java')
tasks 'compileJava'
ignores '.*\\.swp'
}
}