1) How to add a watcher on 1 file ONLY ?
The goal is to put a obfuscator on 1 JS file only (the main.js) : I was unable to do that: obfuscation is applied to ANY JS file I do modify.
2) How to avoid infinite recurrent rules ? I have 2 watchers right now:
- minification on JS files
- obfuscation on JS files
Problem is: PhpStorm creates infinite .min.obf.min.obf...js : it looks it applies these 2 rules in endless.