I'm editing a Dashboard widget as a TextMate project. It took me a while to figure out that **updates to CSS are not reflected in the Web Preview** of the corresponding HTML page of the widget.
I can even completely delete the contents of the CSS file, and still, the preview renders with the old version of the CSS file. I tried Command-R, manual reloads in the preview windows etc - nothing worked except quitting and restarting TextMate, which is obviously not a satisfying solution.
Do I miss something here? (For me, this feature seems to be broken, and I found some mailing list posting from 6 months ago; but I hoped that the current version has fixed these problems).
My configuration is TextMate 1.5.3 (1215), Mac OS X 10.4.7 Latest update, No HTML/CSS bundle modified by me.
Thanks for your help, Martin.
On Sep 4, 2006, at 6:49 PM, Martin Backschat wrote:
I'm editing a Dashboard widget as a TextMate project. It took me a while to figure out that **updates to CSS are not reflected in the Web Preview** of the corresponding HTML page of the widget.
I can even completely delete the contents of the CSS file, and still, the preview renders with the old version of the CSS file. I tried Command-R, manual reloads in the preview windows etc - nothing worked except quitting and restarting TextMate, which is obviously not a satisfying solution.
Do I miss something here? (For me, this feature seems to be broken, and I found some mailing list posting from 6 months ago; but I hoped that the current version has fixed these problems).
It is broken in a way, the behavior you describe is still how it works I think. What I do is to include the CSS via <style> tags in the HTML while testing this way, or to be previewing the file in a browser instead. (TM does this a bit easier via a command bound to cmd-R)
You might want to file a report here if there isn't one already: http://macromates.com/ticket/
My configuration is TextMate 1.5.3 (1215), Mac OS X 10.4.7 Latest update, No HTML/CSS bundle modified by me.
Thanks for your help, Martin.
Charilaos Skiadas Department of Mathematics Hanover College P.O.Box 108 Hanover, IN 47243
In my case, clicking the little «refresh» buttom, at the right of the adress bar, does refresh a CSS change...
TextMate´s web preview cashes all linked files including stylesheets embedded via link-tag. The only (and in my opinion totally unacceptable) way of emptying that cashe is restarting the whole application. So what I do is embedding the CSS via style-tag while working on it and putting it in an external file when I am finished. A little bit annoying though.
Am 05.09.2006 um 16:21 schrieb guerom00:
In my case, clicking the little «refresh» buttom, at the right of the adress bar, does refresh a CSS change...
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate