TextMate: Preview in Firefox without having to save document first?

Posted by hced on Stack Overflow See other posts from Stack Overflow or by hced
Published on 2009-04-06T23:17:05Z Indexed on 2010/05/13 19:24 UTC
Read the original article Hit count: 132

Filed under:
|
|
|
|

Using TextMate:

Is it possible to assign a shortcut to preview/refresh the currently edited HTML document in, say, Firefox, without having to first hit Save?

I'm looking for the same functionality as TextMate's built-in Web Preview window, but I'd prefer an external browser instead of TextMate's. (Mainly in order to use a JavaScript console such as Firebug for instance).

Would it be possible to pipe the currently unsaved document through the shell and then preview in Firefox. And if so, is there anyone having a TextMate command for this, willing to share it?

© Stack Overflow or respective owner

Related posts about textmate

Related posts about preview