I use LiveReload which minifies my CSS on the fly. For JS I use the YUI Compressor. I just use an online version which can be found here: http://refresh-sf.com/yui/
@TheDoc - Which LiveReload are you using? I Googled "LiveReload" and "LiveReload js", but wasn't sure exactly which method you used.
I'm currently looking into the simplest and best method of serving a minimized CSS file to the browser, but retaining all of my comments and white-space when I open the file directly from the server for editing.
JavaScript - Google Closure, https://developers.google.com/closure/
CSS - With SASS, sass --watch style.scss:style.css --style compressed also works on plain CSS files.
Just wondering what tools folks use to minify CSS/JS, and whether or not there are any things to be sure to do/avoid doing when minifying.
Thanks in advance.
I use LiveReload which minifies my CSS on the fly. For JS I use the YUI Compressor. I just use an online version which can be found here: http://refresh-sf.com/yui/
Always make a backup copy in case you need to add to or edit the code.
I use this: http://refresh-sf.com/yui/
Thanks guys. Am currently reviewing this post...
@TheDoc - Which LiveReload are you using? I Googled "LiveReload" and "LiveReload js", but wasn't sure exactly which method you used.
I'm currently looking into the simplest and best method of serving a minimized CSS file to the browser, but retaining all of my comments and white-space when I open the file directly from the server for editing.
Thanks! Adam
JavaScript - Google Closure, https://developers.google.com/closure/
CSS - With SASS,
sass --watch style.scss:style.css --style compressedalso works on plain CSS files.@baneydesign - this: http://livereload.com/
But now I just use Compass http://compass-style.org/
If no mistake @TheDoc, Compass has nothing to do with minification. Sass does the thing.
In a sense, you are right. But the question was more 'what am I using?'. I have Compass installed and I use
compass watch.