-
4 Nov 2012 11:43 AM #1
Requirements for "resources/sass/<theme>/.sass-cache" folder
Requirements for "resources/sass/<theme>/.sass-cache" folder
Is there a need/advantage to keep the "resources/sass/<theme>/.sass-cache" folder after the build process?
The reason I ask is that .sass-cache folder is hidden from my view by default in my primary IDE (Eclipse), but got added to our version control system, causing conflicts when I tried to commit some recent changes.
Also, the "sencha app build" process copies that folder into the production target, which I'd like to avoid if it's not necessary.
It seems to me that I should be able to completely drop the "resources/sass" folder from deployment, but I'd like to be sure.
Thanks.
-
6 Nov 2012 6:14 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
That directory is some meta data for when you do a compass compile and it would then know if anything was changed. It's not required you keep it, it would just speed up the compass compile in most cases.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
6 Nov 2012 7:36 AM #3
Exactly what I needed to know.
Thanks!
-
6 Nov 2012 8:20 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
Just a note, if you are using SVN or git I usually just ignore the dir so I can keep the meta data and not have it checked in.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
6 Nov 2012 8:48 AM #5
Still using CVS (believe it or not), but yes, I've now flagged it as being ignored...just had to jump through a few hoops.
Thanks.
-
8 Feb 2013 8:02 AM #6
Is there a way to change the sass cache dir?
Is there a way to change the sass cache dir?
According to http://sass-lang.com/docs/yardoc/fil...ocation-option, the cache_location can be set to define a different cache directory for SASS, but when I tried setting in resources/sass/default/config.rb:
sass_options = {:cache_location => "/tmp/sass-cache"}
It doesn't appear to work--the sass cache still goes to ./packages/theme/sass/.sass-cache
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote