-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Hello, I am using grunt 1.04, running on osx Mojave 10.14.6. When I load clean task with grunt.loadTasks(subDir) and run the next command:
grunt clean
it just freezes the command line, i have to ctrl c to continue
If I uncomment the line loadNpmTasks and comment registertask then it works.
configuration content is as follows:
gruntfile.js
module.exports = function(grunt) {
require('jit-grunt')(grunt);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
path: grunt.file.readJSON('routes.json'),
});
grunt.loadTasks('grunt/tasks');
// Log our current config
console.log(grunt.config());
// grunt.loadNpmTasks('grunt-contrib-clean');
grunt.registerTask('clean', ['clean']);
};
clean.js
module.exports = function(grunt) {
grunt.config('clean', {
styles: ['**/*.css']
});
};
Metadata
Metadata
Assignees
Labels
No labels