Open adamdebono opened 9 years ago
Does it work from the command line directly? Could you post your Gruntfile?
yeah works from the command line.
gruntfile.js
module.exports = function(grunt) {
// measures the time each task takes
require('time-grunt')(grunt);
// load configs
require('load-grunt-config')(grunt);
};
Can confirm the same, appears not to work with the load-grunt-config/load-grunt-tasks way of creating Grunt tasks, my grunt file is pretty similar:
module.exports = function(grunt) {
// measures the time each task takes
require('time-grunt')(grunt);
// load grunt config
require('load-grunt-config')(grunt);
// load grunt tasks from grunt/ dir
require('load-grunt-tasks')(grunt);
}
Bizarre. Grunt-runner uses your local installation of grunt
to parse tasks and reads directly from it, so I wouldn't think requiring within the function would matter unless there's something asynchronous going on. I'll play around a bit with it this weekend to try to see what's up.
This is still an issue. Any news?
Still an issue and somehow might be related to this one #90.
All of my grunt tasks are kept in separate files (in the grunt directory), but the plugin won't acknowledge any of these tasks. I just get 'Grunt file parsed, found 0 tasks'