I've a PhpStorm file watcher running autoprefixer. However the file watcher runs recursively. I think this is because it generates a new css file which the file watcher then runs on.
Is there a way to force them to run only once?
I think I need a scope of Project files because I am not directly editing the css file, instead I have a SCSS file that creates a CSS file which should then be auto prefixed. My settings are shown below.
You have to:
Settings | Scopes
.. or by clicking on corresponding "..." button in File Watcher); *.css
) -- not really required as "File Type" field of File Watcher already covers it*.min.css
)Now use that scope in your File Watcher instead of default "Project Files"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With