gruntjs - grunt-sass: getting compilation errors to output to browser -
i have following setup in 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"]); };
i'm using bourbon too. compilation errors appear in terminal not in browser expect. there can add setup make compilation errors output browser?
thanks in advance.
Comments
Post a Comment