javascript - sass with gruntjs doesn't work -


the livereload worked sass isn't output css. no error shown in terminal. below gruntfile.js

module.exports = function (grunt) {     grunt.initconfig({         pkg: grunt.file.readjson('package.json'),         watch: {             sass: {                 files: ['components/sass/*.{scss,sass}'],                 tasks: ['sass'],                 options: {                         livereload: true                 }              },             livereload: {                 files: ['**/*'],                 options: {                     livereload: true                 }             }         },         sass: {             options: {                 sourcemap: true,                 outputstyle: 'compressed'             },             files: {                 'css/styles.css': 'components/sass/styles.scss'             }         }     });     grunt.registertask('default', ['sass', 'watch']);     grunt.loadnpmtasks('grunt-sass');     grunt.loadnpmtasks('grunt-contrib-watch'); } 

anything did wrongly here?


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -