hashicorp/consul-template — pull request #123 by sethvargo (2014-12-16 21:27:08+00:00)
Title: Listen for a signal to prevent a deadlock

If the user does not specify any dependencies, the watcher has no data to return, which results in a deadlock. This prevents such a case by adding a signal channel listener.

/cc @armon @mitchellh @ryanuber