grunt sass:获取要输出到浏览器的编译错误

grunt sass:获取要输出到浏览器的编译错误,sass,gruntjs,bourbon,Sass,Gruntjs,Bourbon,我的Grunt.js中有以下设置: module.exports = function(grunt) { grunt.initConfig({ sass: { dist: { // Target files: { 'public/stylesheets/css/application.css' : 'public/stylesheets/scss/applica

我的Grunt.js中有以下设置:

module.exports = function(grunt) {

   grunt.initConfig({
      sass: {
            dist: {       // Target
                files: {    
                    'public/stylesheets/css/application.css' : 'public/stylesheets/scss/application.scss'    
                },
                options: {
                    outputStyle: 'nested',
                    sourceComments: 'normal',
                    includePaths: [
                        'public/stylesheets/scss/'
                    ]
               }
            }

        }
        ,
        watch: {
            sass: {
                files: ['public/stylesheets/scss/*.*'],
                tasks: ['sass:dist']
            },
            livereload: {
                files: ['public/stylesheets/css/*.*'],
                options: {
                    livereload: 1234
                }
            }
        } // Task

    });

    grunt.loadNpmTasks('grunt-sass');
    grunt.loadNpmTasks('grunt-contrib-watch');

    grunt.registerTask('default', ["sass", "watch"]);

};
我也在用波旁威士忌。任何编译错误都会出现在终端中,但不会像我预期的那样出现在浏览器中。有什么我可以添加到我的设置,使编译错误输出到浏览器


提前谢谢

有关该错误消息的任何详细信息?编译时的任何Sass语法错误消息。编译CSS资产时出错,SASS::语法错误:在“float”之后的CSS无效,应为“;”。检查您的SASS文件,您有一些无效代码。您可能误解了这个问题。使用上述设置,如何使sass编译错误消息显示在浏览器中,而不是仅显示在终端窗口中?这是我的问题。谢谢。还没有,虽然我还没有机会重温这个,但如果我重温,我会更新的。谢谢