[TxMt] Re: showing preview of css colors

Allan Odgaard mailinglist at textmate.org
Tue May 31 08:15:40 UTC 2016

On 31 May 2016, at 10:08, Justin Catterall wrote:

> What will happen when a user edits their CSS file? Can there be a 
> trigger to re-run the image generation, say, on save? Otherwise it 
> could lead to a fair bit of confusion when a user updates their file 
> and the colours remain as previously.

Yes, command will be set to run on open and save.

This is similar to the SCM Diff Gutter bundle which use the gutter to 
indicate which lines are changed, but only update on save (and now also 
first load of a document).

I actually have a local branch which allow commands to run on 
“document changed” which is designed for live HTML/Markdown preview, 
but could also be used for updating the gutter. Though there are some 
minor issues that need fixing before I can push this to master.

More information about the textmate mailing list