unbit/uwsgi — pull request #61 by prymitive (2012-11-27 11:03:58+00:00)
Title: enhanced file touch checker

I've noticed that if I use --touch-reload with path pointing to non-existing file, than uWSGI will spam my logs with ```unable to stat() XXX, events will be triggered as soon as the file is created``` so in effort to get rid of that I've modified uwsgi_check_touches() a little bit. Changes:

* ```unable to stat() ...``` will be printed only once
* uwsgi_check_touches() will react to watched files being created or deleted, not only modified

Merge this if reload should be handled on create/delete. IMHO it should at least on create, right now I need to create file and then modify its time stamp.