Reputation: 36068
I am using the closure-compiler.jar to compress my sources codes.
And we use the ADVANCED_OPTIMIZATION
model,so we have to be careful when we write the codes.
For example, we have to use the
obj["prop"]
instead of obj.prop
to export the property 'prop'.
So in order to make sure the compressed codes work, we will compress it once we modify the codes.
However,our project is under develpment,so the modifiation is frequent.
Once we update the code (even add a char) we have to run the
java -jar xx.jar ......
So I wonder if there is any tool can monitor the change of the source code,then compress them and make them formatted pretty in windows (like winLess for less) ?
Upvotes: 1
Views: 337