试图学习咕噜声。我已经安装了grunt-contrib-compass
和grunt-contrib-watch
插件。当我grunt
在终端中使用时,它会运行指南针任务并返回
Running "compass:dist" (compass) task
Compass can't find any Sass files to compile.
Is your compass configuration correct?.
If you're trying to start a new project, you have left off the directory argument.
Run "compass -h" to get help.`
Gruntfile 在wp-content/
我的 Wordpress 安装文件夹中。这是我的 Grunfile 中的指南针设置:
compass: {
dist: {
options: {
config: 'themes/THEME-NAME/config.rb',
force: true
}
}
},
我的 config.rb 在那里,并因此设置:
require 'singularitygs'
require "breakpoint"
http_path = "/"
css_dir = "/"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "javascripts"
output_style = :compressed
line_comments = false
有任何想法吗?我哪里出错了?