Skip to content

incorrect documentation #75

Description

@joniba

Following the documentation, this does not work (copied from the documentation page):

grunt.initConfig({
express: {
myServer: {
server: path.resolve(__dirname, 'server.js')
}
}
});

This does:

grunt.initConfig({
express: {
myServer: {
options: {
server: path.resolve(__dirname, 'server.js')
}
}
}
});

I.e., server must be nested in options object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions