proxylocal / proxylocal-gem

Proxy your local web-server and make it publicly available over the internet
http://proxylocal.com/
MIT License
223 stars 15 forks source link

Sync stdout #10

Open paneq opened 12 years ago

paneq commented 12 years ago

Otherwise output is cached by Ruby and not flushed unit process is finished.

More about this topic:  http://jstorimer.com/2012/09/25/ruby-io-buffers.html

Compare:   proxylocal 3000 | head -n 1   tail -f Rakefile | head -n 1