gradle-watch-plugin icon indicating copy to clipboard operation
gradle-watch-plugin copied to clipboard

add ignore args, just to ignore some .swp files

Open ThomasLau opened this issue 9 years ago • 0 comments

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'
    }
}

ThomasLau avatar Jan 14 '16 08:01 ThomasLau