SCSS / SASS到CSS在特殊文件夹与PHPstorm 7文件观察者 [英] SCSS / SASS to CSS in special folder with PHPstorm 7 file watcher

查看:374
本文介绍了SCSS / SASS到CSS在特殊文件夹与PHPstorm 7文件观察者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用PHPstorm 6和我的SCSS文件编译成CSS文件夹,所以我有:

  css 
- main.css
img
js
scss
- main.scss
- _variables.scss ...

Hier是我在SCSS文件监视器上的定义



Everthing工作正常,但昨天我更新了PHPstorm从版本6到7,现在我的SCSS编译/文件监视器不工作了。文件监视器将CSS文件编译到SCSS文件夹。



在PHPstorm 7 Filewatcher的SCSS文件中有什么设置?



这里是我的数据结构,你会看到文件style.css与FileDirName / css / style.css一个文件夹到高..

解决方案

AAAAAAArrrgh!



输出路径



<$> p $ p> $ FileParentDir $ / css / $ FileNameWithoutExtension $ .css

>


I used PHPstorm 6 and my SCSS-Files were compiled into the CSS-Folder, so I have:

css
  -- main.css
img
js
scss
  -- main.scss
  -- _variables.scss   ...

Hier are my definitions on SCSS File Watcher

Everthing worked fine, but yesterday I updated my PHPstorm from version 6 to 7 and now my SCSS compile / file watcher are not working anymore. The File Watcher compile the CSS-File into the SCSS-Folder. But I want it in my CSS-Folder!!!

What are your settings in PHPstorm 7 Filewatcher for SCSS Files?

here is my data structure, you'll see the file style.css with FileDirName/css/style.css one folder "to high" ..

解决方案

AAAAAAArrrgh!

the "backslashes" were the problem.

output path

$FileParentDir$/css/$FileNameWithoutExtension$.css

这篇关于SCSS / SASS到CSS在特殊文件夹与PHPstorm 7文件观察者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆