Disable file watcher after VCS pull
Hi!
I have Clouser compiler file watcher on PhpStorm sets to start on only *.js files (scope sets to !file:*.min.js&&!file:*.min.js.map) and disabled "Immediate file synchronization".
My problem is, that every git pull, file watcher starts minifing and mapping js files.
I want to prevent this situation, because all files incoming from VCS is up-to-date in repository and there is no need to recompile this files again.
Is there any solution for this?
Please sign in to leave a comment.
You can try to edit file watcher > Scopes > VCS Scopes: Changed Files.
I had a similar problem and setting the scope for the file watchers to "Open files" did the trick for me.