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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -