grunt-middleman icon indicating copy to clipboard operation
grunt-middleman copied to clipboard

Default options usage example broken

Open pimdh opened this issue 10 years ago • 0 comments

Hi,

The default options usage example seems to be broken. When I use the following Gruntfile:

module.exports = function(grunt) {
    grunt.initConfig({
        middleman: {
            options: {
                command: "server",
                useBundle: false,
                environment: "development",
                host: "0.0.0.0",
                port: 4567,
                glob: false,
                verbose: false,
                clean: false,
                env: {}
            }
        }
    });
    grunt.loadNpmTasks('grunt-middleman');
};

I get the following output with grunt middleman --verbose:

Initializing
Command-line options: --verbose

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.
Initializing config...OK

Registering "grunt-middleman" local Npm module tasks.
Reading /Users/pim/projects/middleman/node_modules/grunt-middleman/package.json...OK
Parsing /Users/pim/projects/middleman/node_modules/grunt-middleman/package.json...OK
Loading "middleman.js" tasks...OK
+ middleman
Loading "Gruntfile.js" tasks...OK
>> No tasks were registered or unregistered.

Running tasks: middleman

Running "middleman" task

Done, without errors.

No server is started.

The Custom Options example works fine.

I'm using grunt 0.4.5, middleman 3.3.7 and grunt-middleman 0.1.2.

pimdh avatar Jan 05 '15 16:01 pimdh