Here's what I was able to reproduce in 10.5.1 on an Intel Mac:

Changing the linked CSS file doesn't force a refresh in the Live Web Preview, but clicking the refresh button gets the changes correctly. Changing the name of the linked stylesheet in the HTML header removes styles as expected. It seems to get the newest version of the stylesheet file when it is changed back, though.

My guess is that the Live Preview Window can't automatically update when you change the CSS file because it's only watching for changes to the HTML file.

Hope this gives you some clues.

itp

On Feb 10, 2008, at 12:29 PM, Steven Rowat wrote:

Greetings,

I've been using TextMate for several months, and I'm now starting my first multi-file project using the TextMate project interface.

I've encountered what appears to me as a substantial bug (see title). I opened a ticket with a full description last week, but have received no reply so far. Here's the "Summary" from the start of that ticket:

"Summary:
At first, TM's Web Preview reads linked css stylesheet in the HTML header correctly, but then will not update when the stylesheet is changed. Browsers don't have this problem and show the new data as expected. (TM Web Preview seems to get 'stuck' using its original cached value, even when those values no longer exist in the css file. )
 "

Here's the full description, including my Troubleshooting attempts and exact steps to reproduce the bug:



In addition I'm puzzled by the fact that I've found an exact description of the bug reported in this list in 2006. And there are no replies to that report either! Strange.

Doesn't anyone besides me need to use the (wonderful) Live Web Preview with linked external style sheets?

Or am I missing some hidden command or path configuration that will allow this to work?


Best Regards,
 
Steven Rowat

______________________________________________________________________
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