使用带有--watch的scss CLI时出错

时间:2015-01-09 00:43:53

标签: ruby gem sass ubuntu-14.04

我正在尝试使用scss命令来查看.scss文件。 我跑的时候

scss scss/main.scss:public/css/main.css --watch

我收到以下错误:

NameError: uninitialized constant Listen::MultiListener

这是带有--trace参数的命令的结果:

masious@ubuntu:~/Desktop/laravel$ sudo scss scss/main.scss:public/css/main.css --watch --trace
  
    
      

Sass正在关注变化。按Ctrl-C停止。       /usr/lib/ruby/vendor_ruby/sass/plugin/compiler.rb:250:in watch': uninitialized constant Listen::MultiListener (NameError) from /usr/lib/ruby/vendor_ruby/sass/plugin.rb:107:in method_missing'           来自/usr/lib/ruby/vendor_ruby/sass/exec.rb:459:in watch_or_update' from /usr/lib/ruby/vendor_ruby/sass/exec.rb:326:in process_result'           来自/usr/lib/ruby/vendor_ruby/sass/exec.rb:41:in parse' from /usr/lib/ruby/vendor_ruby/sass/exec.rb:21:in解析!'           来自/ usr / bin / scss:8:在`'

    
  

0 个答案:

没有答案