grunt icon indicating copy to clipboard operation
grunt copied to clipboard

grunt does not compile all files

Open usermaya opened this issue 7 years ago • 0 comments

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']); };

usermaya avatar Jun 17 '18 21:06 usermaya