stylefmt file watcher support on SCSS

I would like to set up a stylefmt file watcher on SCSS files to format SCSS on each save. I believe right now it is not possible and/or there is a bug with Webstorm, as even if I do not select "Track only root files", the $FilePath$ is always set to the root file, not to the actual file I'm editing.

Can you fix this bug?

0
3 comments

An other bug with SCSS file watchers is if I set it to "Open Files" it also doesn't trigger, unless the root file is also open.

0

Try adding COMPILE_PARTIAL=true variable to your file watcher settings (see screenshot).
Also, make sure that "Track only root files" is off.

see the comments in https://youtrack.jetbrains.com/issue/WEB-13459

0

Thanks Elena it works with that environment option. Also the Open Files bug is solved this way.

I recommend making that very much hidden option into a checkbox. 

0

Please sign in to leave a comment.