kordamp / livereload-gradle-plugin

A Gradle plugin for enabling LiveReload
Apache License 2.0
19 stars 3 forks source link

Support Automatically Configuring "org.asciidoctor.convert" #2

Open rwinch opened 9 years ago

rwinch commented 9 years ago

The documentation states:

This plugin can be used in combination with any task that produces content that should be reload. In particular this plugin detects if the asciidoctor-gradle-plugin is installed, automatically configuring the outputDir of the asciidoctor task as the docRoot. This setting can be overridden by user input of course.

However, it will only work for the old asciidoctor plugin. It would be nice to update to support org.asciidoctor.convert as well.

elgoodie commented 7 years ago

Small fix to make it work Add this to your build.gradle file: liveReload { docRoot = asciidoctor.outputDir }