You may also use Path Variables (but that requires such variable to be defined on every computer where this project will be opened/used). The path to some tool etc will be saved using that variable (invisible to end user: you will see the actual path while in config file it will be stored using that variable).
No, there is no file watcher macro for this; but the program path is stored using path variables in watcherTasks.xml, like:
<option name="program" value="$USER_HOME$/AppData/Roaming/npm/lessc" />
So the XML files are shareable
You may also use Path Variables (but that requires such variable to be defined on every computer where this project will be opened/used). The path to some tool etc will be saved using that variable (invisible to end user: you will see the actual path while in config file it will be stored using that variable).
https://www.jetbrains.com/help/webstorm/2018.3/settings-path-variables.html