Hello JB Community,
i am looking for advices regarding files watchers, automations and CSV within PHPStorm.
Here is my situation : on a PHP/JS program with a few hundreds files (.php,.js,.css,.htm - usual stuff) i needed a CVS and i choosed Mercurial with Bitbucket, and i have also decided to minify all files that could be in this project, .js and .css, through the file watchers plugin (YUI Compressor).
Now i’m wondering about a 2 points that i would like to discuss here :
- should i commit both minified and non minified to Bitbucket/CVS or should i consider that minification is a process that shouldn’t be part of the distributed software
- how to upload automatically minified files as only files that i’m editing are uploaded. These files when saved get on the server, but the minified ones stays on the local disk…
- should i leave the minification process only for final upload to production and if yes what is your policy in order not to forget anything (do’s and don’t welcome ^^)
Thanks for your input