I wanted to minimize or compress CSS, Javascript and maybe Html files like Google does. Because, I used Google's Page-Speed and it recommended me to compress files. It provides me the compressed versions but I would like to do this automatically.I don't want to deal with 2 files every time I want to edit something. So basically, I want to have 2 files in a folder, for instance, **style.src.css**
and **style.css**.

I want to know how to do the following:

1. Update the ouput file everytime I edit the input file.
2. A command that automatically compress CSS, Html, and Javascript files.

Thanks in advance.