grunt nie kompiluje

0

Cześć,
Pracuję na Bootstrapie i mam taki problem. Zainstalowałam Grunt i kompiluje mi tylko style.less, natomiast innych plików już nie. Kiedy zmienię coś w innym pliku z którego pobiera mój style.less to zadziała dopiero po restarcie grunta. Co może być nie tak?

0

To jest mój 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']);
};

1 użytkowników online, w tym zalogowanych: 0, gości: 1