ceesvanegmond / minify

A PHP package for minifying your .css and .js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possibility te delete old files

stephanedemotte opened this issue · comments

Hello !

The possibility to delete old files will be keep the server more "clean" :)

Hey stephanedemotte,
I've been thinking about this a long time now, I only have no idea how.
You have any suggestions?

@stephanedemotte There's an new version in the development branch which deletes old minified files. Let me know if it works!

Hi,

Just used your package for the first time and seems to me that old files are deleted without any problem

@EdwinvanDessel You've used the develop branch?

Hi, to be completely honest, no. Bit embarrassing, I forgot to push the F5 (refresh)-button in my IDE and therefore did not see moren then the first file :-(.
But in the meantime I downloaded the develop-branch and tested it again. Works fine, at least in my environment (Windows 8/Apache/PHP5.5/MySQL).
What I did open the local website once and see that the files were generated - then changed one of the css-files - opened the local website again. In the builds-folder of css there is still 1 file while the changes implemented in the css show in the local site.

Thanks for testing!