Clear Read-Only Status for filewatcher minified files
Answered
I'm using YUI Compressor via filewatcher to minify my JS and CSS files. Works good!
If I start editing a file, PHPstorm ask me to Clear Read-Only Status. In this dialog I set 'Using vc integration' with a change list.
How can I configure that this step include the minified file as well?
My current process:
- start editing
- set using vc in dialog
(filewatcher comes up with error compressing because access denied)
- remove write protection of minified file using windows explorer
- move in vc minified file from 'modified without checkout' list to correct change list
Whats my fault? A missing option? How can I do it a correct way?
thx, Mike :-)
Please sign in to leave a comment.
The Clear read-only status prompt appears only when it is IDE that wants to make some edits to a file.
YUI Compressor is an external process and IDE simply does not know when the compressor wants to edit the file, and cannot show the prompt.
As a kind of a workaround, you could manually mark the minified file for Edit in the IDE before editing the original one. This way compressor will not fail with access denied, and you will not need to move the file from modified without checkout to the correct changelist afterward.