PaperMake icon indicating copy to clipboard operation
PaperMake copied to clipboard

[FEATURE] Automatically stop the dev server when the clean task is run

Open Insprill opened this issue 2 years ago • 1 comments

Occasionally I'll end up running Gradle's clean task while the dev server is running, causing the task to fail, and the dev server to break as some of its files have been deleted. Ideally, when the clean task is run, the dev server would be terminated.

I initially tried to implement this myself, however, it doesn't look like there's any good way to terminate a JavaExec task and I didn't want to get too deep in the weeds of alternate solutions.

Insprill avatar Aug 03 '22 06:08 Insprill