jbake-org / jbake-gradle-plugin

A Gradle plugin for JBake
Other
45 stars 21 forks source link

Run a single command that will incrementally bake and preview #47

Open jmcgarr opened 6 years ago

jmcgarr commented 6 years ago

This is a feature request.

Currently, if I want to preview my JBake site builds incrementally, I have to open up two shells, with one running ./gradlew -t bake and the second one running ./gradlew bakePreview. Having a single command to run that would address both at the same time would be great. I suspect this command would have to spawn the jetty server in the background while it listens for file changes to run a bake against.

Would love feedback on this feature request before I take a stab at implementing it.