I created a new theme in Eclipse Indigo 3.7.2 + Liferay IDE 1.6.1 using Liferay Plugin SDK 6.1.1.
I initialized the _diffs/ folder by copying Zoe Resort diffs/ folder (from http://svn.liferay.com/repos/public/plugins/branches/6.1.x/themes/zoe-resort-theme)
I started Liferay 6.1/Tomcat server
I compiled and deployed the theme via "Liferay >> sdk >> deploy" menu item
I chose the theme in Liferay Control Panels
=> the theme worked perfectly in Firefox
Then I added the theme to Liferay 6.1/Tomcat server
I modified docroot/_diffs/css/custom.css and saved it.
Eclipse compiled automatically the theme and synchronized Tomcat
=> unfortunately, refreshing the page in Firefox failed with a message indicating that Firefox cannot load custom.css
After checking the differences between "Liferay >> sdk >> deploy" menu item and automatic build and synchronization, I found out that automatic build did not update docroot/css/.sass-cache/custom.css and removed docroot/css/custom.css! After automatic synchronization, custom.css is also deleted in Tomcat, hence the error in Firefox.
Any help would be appreciated.
Note: this bug report is related to message thread http://www.liferay.com/web/guest/community/forums/-/message_boards/view_message/18877567