miyagawa/Starman — Issue #37: --Reload doesn't work with --daemonize
Author: Htbaa
Created: 2011-12-16 14:50:42+00:00
State: open

When running Starman with `--Reload` and `--daemonize` it isn't able to restart when a monitored file changes. It works fine when it isn't daemonized.

Output from error log (with `--error_log` flag)

````
Process Backgrounded
2011/12/16-15:43:41 Starman::Server (type Net::Server::PreFork) starting! pid(18558)
Using default listen value of 128
Binding to TCP port 5000 on host *
Setting gid to "33 33 33"
Process Backgrounded
2011/12/16-15:43:49 Starman::Server (type Net::Server::PreFork) starting! pid(18573)
Using default listen value of 128
Binding to TCP port 5000 on host *
2011/12/16-15:43:49 Can't connect to TCP port 5000 on * [Address already in use]
at line 88 in file /usr/local/perls/perl-5.12.2/lib/site_perl/5.12.2/Net/Server/Proto/TCP.pm
2011/12/16-15:43:49 Server closing!
````