morganestes/sublime-recess

Refresh window after CSS compiled

Opened this issue · 0 comments

Problem
After opening a CSS file and selecting the compile option, the output window shows this:

   1 file(s) copied.

[Finished]

...but the file looks the same. This only happens when compiling a file that's already in CSS format.

Temp fix
Click in another part of the window (sidebar, output pane), then back again. This refreshes the view so you now see the updated CSS.

Permanent fix needed
This happens because the file is actually being overwritten during the compile process, but ST2 doesn't seem to know that.
I've tried to use the revert command, but don't really know what I'm doing so that doesn't help.
I need a solution that recognizes that the file has been updated, then refreshes it. See http://www.sublimetext.com/forum/viewtopic.php?f=4&t=7040 for an example.