Exceptions for the minify file watcher


I have configured CSS minify using YUI Compressor and JS minify using UglifyJS, and it works fine, with one exception: CSS or JS file is available as minified only, and it doesn't need to be minified again, and it has a name like this: *.min.js or *.min.css. But, if the file doesn't have a version without .min in the name, PHPStorm creates new minified files that ends up like: *.min.min.js or *.min.min.css.

How to configure the watcher to skip files that are only available as minified ending with .min.js or .min.css in the name?



Hi there,

Create and use Custom Scope in your File Watcher where you can exclude unwanted patterns.



Please sign in to leave a comment.