racker/dreadnot — pull request #56 by jordane (2013-09-03 19:28:33+00:00)
Title: dreadnot web should watch for changes to htpasswd

This introduces a few changes:

* getUsers now reads from htpasswd asynchronously
* loadDBFromFile calls an fs.watch, which always sends SIGHUP on change
* loadDBFromFile uses bind to pass the file name along to onSIGHUP
* onSIGHUP handles the reloading of the files