grunt
grunt copied to clipboard
grunt does not compile all files
Hi, I work with Bootstrap and I have this problem. I have installed Grunt and compile only style.less but not the other files. When I change something in file which is import to style.less it works only when I reeboot Grunt. What could be wrong? This is my gruntfile.js:
module.exports = function(grunt) { require('jit-grunt')(grunt);
grunt.initConfig({ less: { development: { options: { compress: true, yuicompress: true, optimization: 2 }, files: { "css/style.css": "less/style.less" } } }, watch: { styles: { files: ['less/**/*.less'], tasks: ['less'], options: { nospawn: true } } } });
grunt.registerTask('default', ['less', 'watch']); };