似乎我的 grunt-contrib-compass 没有正常工作,我正在尝试使用:
grunt compass:dev
输出是:
Running "compass:dev" (compass) task
但是什么也没有发生,我也没有任何错误
在我的Gruntfile.js
我有:
compass: {
dev: {
options: {
sassDir: 'src/assets/sass',
cssDir: 'src/assets/css',
imagesDir: 'assets/images',
outputStyle: 'nested',
environment: 'development',
force: true
}
},
dist: {
options: {
sassDir: 'src/assets/sass',
cssDir: 'src/assets/css',
imagesDir: 'assets/images',
outputStyle: 'compressed',
noLineComments: true,
environment: 'production'
}
}
}
使用:
grunt compass:dev --verbose
我有:
Running "compass:dev" (compass) task
Verifying property compass.dev exists in config...OK
File: [no files]
Options: sassDir="src/assets/sass/", cssDir="src/assets/css",` imagesDir="assets/images", outputStyle="nested", environment="development",`
有任何想法吗?
谢谢!