I have set up a watcher in PHPStorm which triggers the execution of a Grunt task when one of my PHP files is changed. This runs all well, however when I modify mutiple files at one (for instance when replacing a string in several files) the Grunt task is executed as many times as the number of files that have been modified.
I would only need it to be executed once, how can I do that ?