[英]WebStorm/PHPStorm SCSS File Watcher, how do you keep the parent directory structure?
My CSS folder has the following structure: 我的CSS文件夹具有以下结构:
c:\projects\WebApplication1\
Content\
Componnet1\a.css
b.css
Componnet2\c.css
d.css
The SCSS folder structure is as below: SCSS文件夹结构如下:
c:\projects\WebApplication1\
SCSS\
Componnet1\a.scss
b.scss
Componnet2\c.scss
d.scss
In WebStorm/PHPStorm SCSS watcher, how can I map SCSS\\Componnet1\\a.scss to Content\\Componnet1\\a.css? 在WebStorm / PHPStorm SCSS监视程序中,如何将SCSS \\ Componnet1 \\ a.scss映射到Content \\ Componnet1 \\ a.css?
Thanks. 谢谢。
This is how your File Watchers settings should look like: 这是您的File Watchers设置应如下所示:
IMG of SCSS Watcher SCSS Watcher的IMG
Change Arguments field with: --no-cache --update $FileName$:..\\..\\Content\\$FileDirName$\\$FileNameWithoutExtension$.css
使用以下方法更改参数字段:--
--no-cache --update $FileName$:..\\..\\Content\\$FileDirName$\\$FileNameWithoutExtension$.css
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.