Skip to content

--gruntfile parameter broken with parent directories #950

Closed

Description

@vladikoff

As mentioned in gruntjs/grunt-cli#26

Seems like --gruntfile parameter is broken with parent directories

Here's an example of moving the PouchDB Gruntfile into a parent directory and running it wiht --gruntfile

image

Confirm?

Activity

  1. pixelzoom commented on Oct 24, 2013

    @pixelzoom

    I've worked around this problem by avoiding the --gruntfile option and doing the redirection in a Gruntfile that looks like this:

    module.exports = require( '../Gruntfile.js' );

  2. amir-rahnama commented on Dec 20, 2013

    @amir-rahnama

    I can work on this.

    But I need to know after I forked and ran

    npm install
    

    and

    grunt
    

    How can I debug the source?

  3. cowboy commented on Jan 22, 2014

    @cowboy
    Member

    This issue does actually belong to grunt-cli, so please refer to gruntjs/grunt-cli#26 instead of this issue. Sorry for the inconvenience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions