Preview in TextMate html created by ruby script

2

If I create ruby (or maybe not ruby, no difference) script in TextMate which produces html, is there an easy way to preview it using combination like ⌘R or using Web Preview?

Now I found two ways to preview html: using bcatruby script.rb | bcat, but I need to close browser tab every time and rerun script, or running this script on a web server, but this way is also not easy one.

tig

Posted 2011-04-01T13:13:09.423

Reputation: 3 906

No answers