Windows上的WebStorm SASS文件监视器

时间:2015-02-03 09:52:47

标签: css windows sass webstorm

除非Windows上的.NET编程可以如此多。上帝该死的

TL; DR 如何让Windows上的SASS / SCSS处理器与WebStorm配合使用?

我想在WebStorm 9中设置文件监视器来编译我的css文件。

好。使用FileWatcher中SASS / SCSS的默认设置,我得到以下输出。

cmd.exe /D /C C:/Ruby21/bin/scss.bat --no-cache --update spinner.scss:spinner.css
cygwin warning:
  MS-DOS style path detected: C:/Ruby21/bin/scss
  Preferred POSIX equivalent is: /cygdrive/c/Ruby21/bin/scss
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
/usr/lib/ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find sass (>= 0) amongst [bigdecimal-1.1.0, io-console-0.3, json-1.8.0, minitest-2.5.1, rake-10.0.4, rdoc-3.12.2] (Gem::LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
    from /usr/lib/ruby/1.9.1/rubygems.rb:1231:in `gem'
    from C:/Ruby21/bin/scss:22:in `<main>'

Process finished with exit code 1
好的,好的!让我们将工作目录更新为像这样的cygwin路径

/cygdrive/c/Users/foo/Documents/dev/...

惊人。 WebStorm正在“修复”c:\cygdrive\c\Users\...的路径,显然让流程失败。

enter image description here

0 个答案:

没有答案