Sass not detecting changes made by used files @use

这一生的挚爱 提交于 2021-02-11 15:40:42

问题


Alright so I am trying to detect changes that happened in the files that are used (@use) with SASS and PHPSTORM but whenever I compile the used file, it doesnt compile the original.

Example:

I save _global.sass, it doesnt compile style.sass, but it should.

So basically my issue is that whenever I make changes to _global.sass or _home.sass, I have to manually go to style.sass, insert or delete empty line (make some changes) and then save for it to compile...

style.sass

@use "_global.sass"
@use "_home.sass"

_global.sass

*
    margin: 0
    padding: 0

.flex
    display: flex


回答1:


Known issue, please follow WEB-42904 for updates; problem is caused by limited support for SASS @use/@forward directives (WEB-42184)



来源:https://stackoverflow.com/questions/61573882/sass-not-detecting-changes-made-by-used-files-use

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!