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?

1
2 comments

You can try to edit file watcher > Scopes > VCS Scopes: Changed Files.

0
Avatar
Permanently deleted user

I had a similar problem and setting the scope for the file watchers to "Open files" did the trick for me.

 

0

Please sign in to leave a comment.