boot-clj / boot

Build tooling for Clojure.
https://boot-clj.github.io/
Eclipse Public License 1.0
1.75k stars 179 forks source link

Fix watch task hanging with no directories #753

Open RadicalZephyr opened 4 years ago

RadicalZephyr commented 4 years ago

Description

A check was added to the watch task's startup phase for whether the list of srcdirs is non-empty. If it is found to be empty, the task now exits with an error message.

Motivation and Context

Fixes #723.

How Has This Been Tested?

I was unable to test this at all because I have not yet been able to build and run my modified version of boot.

Types of changes

Checklist: